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 );
|
DS_PROXY_UNDO_ITEM* item = static_cast<DS_PROXY_UNDO_ITEM*>( eda_item );
|
||||||
item->Restore( this );
|
item->Restore( this );
|
||||||
*item = alt_item;
|
*item = alt_item;
|
||||||
GetToolManager()->RunAction( ACTIONS::zoomFitScreen, true );
|
|
||||||
}
|
}
|
||||||
else if( dynamic_cast<SCH_ITEM*>( eda_item ) )
|
else if( dynamic_cast<SCH_ITEM*>( eda_item ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue