From a4f09381c4dfaf867f0a2a987ef57d044814156f Mon Sep 17 00:00:00 2001 From: mpv Date: Wed, 24 Jan 2018 15:47:55 +0300 Subject: [PATCH] Fix the issue #2421 by VSV : explicit update ObjectBrowser on undo/redo --- src/XGUI/XGUI_Workshop.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 5969a96fc..3e1b71133 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -1035,12 +1035,14 @@ bool XGUI_Workshop::onSaveAs() void XGUI_Workshop::onUndo(int theTimes) { processUndoRedo(ActionUndo, theTimes); + myObjectBrowser->updateAllIndexes(1); } //****************************************************** void XGUI_Workshop::onRedo(int theTimes) { processUndoRedo(ActionRedo, theTimes); + myObjectBrowser->updateAllIndexes(1); } //****************************************************** -- 2.39.2