Browse Source

Fix missing reference keeping history from getting saved.

Fixes: lp:1830185
* https://bugs.launchpad.net/kicad/+bug/1830185
pull/15/head
Jeff Young 6 years ago
parent
commit
f1076c0f48
  1. 2
      eeschema/tools/sch_drawing_tools.cpp
  2. 2
      eeschema/tools/sch_drawing_tools.h

2
eeschema/tools/sch_drawing_tools.cpp

@ -275,7 +275,7 @@ int SCH_DRAWING_TOOLS::PlacePower( const TOOL_EVENT& aEvent )
int SCH_DRAWING_TOOLS::doPlaceComponent( SCH_COMPONENT* aComponent, SCHLIB_FILTER* aFilter,
SCH_BASE_FRAME::HISTORY_LIST aHistoryList )
SCH_BASE_FRAME::HISTORY_LIST& aHistoryList )
{
VECTOR2I cursorPos = getViewControls()->GetCursorPosition();
getViewControls()->ShowCursor( true );

2
eeschema/tools/sch_drawing_tools.h

@ -73,7 +73,7 @@ public:
private:
int doPlaceComponent( SCH_COMPONENT* aComponent, SCHLIB_FILTER* aFilter,
SCH_BASE_FRAME::HISTORY_LIST aHistoryList );
SCH_BASE_FRAME::HISTORY_LIST& aHistoryList );
int doSingleClickPlace( KICAD_T aType );

Loading…
Cancel
Save