]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2346 Hide faces and Undo/Redo : reset panel by Undo/Redo
authornds <nds@opencascade.com>
Thu, 7 Dec 2017 09:56:40 +0000 (12:56 +0300)
committernds <nds@opencascade.com>
Thu, 7 Dec 2017 09:56:40 +0000 (12:56 +0300)
src/XGUI/XGUI_Workshop.cpp

index 9d821a8143e6c83deb14bd314dcd9560e9eac64e..5d935ad3ffe320aee5f25f87aaf51c1cf495f1de 100755 (executable)
@@ -1041,6 +1041,7 @@ void XGUI_Workshop::onUndo(int theTimes)
     if (QString((*aIt).c_str()) == MOVE_TO_END_COMMAND)
       myObjectBrowser->rebuildDataTree();
   }
+  facesPanel()->reset(true);
 
   operationMgr()->updateApplyOfOperations();
   updateCommandStatus();
@@ -1075,6 +1076,7 @@ void XGUI_Workshop::onRedo(int theTimes)
       myObjectBrowser->rebuildDataTree();
   }
   operationMgr()->updateApplyOfOperations();
+  facesPanel()->reset(true);
   updateCommandStatus();
 
   // unblock the viewer update functionality and make update on purpose