Don't auto-zoom when page settings were cancelled.
Fixes https://gitlab.com/kicad/code/kicad/issues/8978
This commit is contained in:
parent
364ecc02ee
commit
b10f337299
|
@ -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 ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue