From: mpv Date: Wed, 24 Jan 2018 12:47:55 +0000 (+0300) Subject: Fix the issue #2421 by VSV : explicit update ObjectBrowser on undo/redo X-Git-Tag: V_3.0.0RC1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a4f09381c4dfaf867f0a2a987ef57d044814156f;p=modules%2Fshaper.git Fix the issue #2421 by VSV : explicit update ObjectBrowser on undo/redo --- 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); } //******************************************************