Fix missing reference keeping history from getting saved.

Fixes: lp:1830185
* https://bugs.launchpad.net/kicad/+bug/1830185
This commit is contained in:
Jeff Young 2019-05-31 23:17:54 +01:00
parent c7fa5c567f
commit f1076c0f48
2 changed files with 2 additions and 2 deletions

View File

@ -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 );

View File

@ -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 );