Don't auto-zoom when page settings were cancelled.

Fixes https://gitlab.com/kicad/code/kicad/issues/8978
This commit is contained in:
Jeff Young 2021-09-17 01:21:20 +01:00
parent 364ecc02ee
commit b10f337299
1 changed files with 0 additions and 1 deletions

View File

@ -300,7 +300,6 @@ void SCH_EDIT_FRAME::PutDataInPreviousState( PICKED_ITEMS_LIST* aList )
DS_PROXY_UNDO_ITEM* item = static_cast<DS_PROXY_UNDO_ITEM*>( eda_item );
item->Restore( this );
*item = alt_item;
GetToolManager()->RunAction( ACTIONS::zoomFitScreen, true );
}
else if( dynamic_cast<SCH_ITEM*>( eda_item ) )
{