From a577b6386d9bb9894a2ed2a761f4cd679705f5ca Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 17 Apr 2021 17:21:54 +0100 Subject: [PATCH] Fix missing status bar update after undo/redo. (Reported by Franck.) --- pcbnew/undo_redo.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/undo_redo.cpp b/pcbnew/undo_redo.cpp index 9d9714c697..c2ed9a4923 100644 --- a/pcbnew/undo_redo.cpp +++ b/pcbnew/undo_redo.cpp @@ -336,6 +336,7 @@ void PCB_BASE_EDIT_FRAME::RestoreCopyFromUndoList( wxCommandEvent& aEvent ) OnModify(); m_toolManager->ProcessEvent( { TC_MESSAGE, TA_UNDO_REDO_POST, AS_GLOBAL } ); + m_toolManager->PostEvent( EVENTS::SelectedItemsModified ); GetCanvas()->Refresh(); } @@ -365,6 +366,7 @@ void PCB_BASE_EDIT_FRAME::RestoreCopyFromRedoList( wxCommandEvent& aEvent ) OnModify(); m_toolManager->ProcessEvent( { TC_MESSAGE, TA_UNDO_REDO_POST, AS_GLOBAL } ); + m_toolManager->PostEvent( EVENTS::SelectedItemsModified ); GetCanvas()->Refresh(); }