diff --git a/pagelayout_editor/pl_editor_undo_redo.cpp b/pagelayout_editor/pl_editor_undo_redo.cpp index c133222397..70c719a3d8 100644 --- a/pagelayout_editor/pl_editor_undo_redo.cpp +++ b/pagelayout_editor/pl_editor_undo_redo.cpp @@ -75,14 +75,9 @@ void PL_EDITOR_FRAME::GetLayoutFromRedoList() delete redoItem; if( pageSettingsAndTitleBlock ) - { - GetToolManager()->RunAction( ACTIONS::zoomFitScreen, true ); HardRedraw(); // items based off of corners will need re-calculating - } else - { GetCanvas()->Refresh(); - } OnModify(); } @@ -115,10 +110,7 @@ void PL_EDITOR_FRAME::GetLayoutFromUndoList() delete undoItem; if( pageSettingsAndTitleBlock ) - { - GetToolManager()->RunAction( ACTIONS::zoomFitScreen, true ); HardRedraw(); // items based off of corners will need re-calculating - } else GetCanvas()->Refresh();