From: nds Date: Thu, 7 Dec 2017 09:56:40 +0000 (+0300) Subject: Issue #2346 Hide faces and Undo/Redo : reset panel by Undo/Redo X-Git-Tag: V_2.10.0RC~84 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8e045482c9aa77d13371f0cbf113d8ed9037a9c0;p=modules%2Fshaper.git Issue #2346 Hide faces and Undo/Redo : reset panel by Undo/Redo --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 9d821a814..5d935ad3f 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -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