]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix the issue #2421 by VSV : explicit update ObjectBrowser on undo/redo
authormpv <mpv@opencascade.com>
Wed, 24 Jan 2018 12:47:55 +0000 (15:47 +0300)
committermpv <mpv@opencascade.com>
Wed, 24 Jan 2018 12:48:13 +0000 (15:48 +0300)
src/XGUI/XGUI_Workshop.cpp

index 5969a96fc812422b6dd3f29d9f732fc82cd557c6..3e1b71133ab512493815c04320aa61ae748ba60f 100755 (executable)
@@ -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);
 }
 
 //******************************************************