Fix missing reference keeping history from getting saved.
Fixes: lp:1830185 * https://bugs.launchpad.net/kicad/+bug/1830185
This commit is contained in:
parent
c7fa5c567f
commit
f1076c0f48
|
@ -275,7 +275,7 @@ int SCH_DRAWING_TOOLS::PlacePower( const TOOL_EVENT& aEvent )
|
||||||
|
|
||||||
|
|
||||||
int SCH_DRAWING_TOOLS::doPlaceComponent( SCH_COMPONENT* aComponent, SCHLIB_FILTER* aFilter,
|
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();
|
VECTOR2I cursorPos = getViewControls()->GetCursorPosition();
|
||||||
getViewControls()->ShowCursor( true );
|
getViewControls()->ShowCursor( true );
|
||||||
|
|
|
@ -73,7 +73,7 @@ public:
|
||||||
private:
|
private:
|
||||||
|
|
||||||
int doPlaceComponent( SCH_COMPONENT* aComponent, SCHLIB_FILTER* aFilter,
|
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 );
|
int doSingleClickPlace( KICAD_T aType );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue