From: azv Date: Fri, 15 Dec 2017 08:32:48 +0000 (+0300) Subject: Update Undo/Redo list while contacting with folder X-Git-Tag: V_2.10.0RC~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f2fe97924c7b6f61fdc7c74087ab75d92641c275;p=modules%2Fshaper.git Update Undo/Redo list while contacting with folder --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 94dce62bb..6cb816382 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -2632,6 +2632,8 @@ void XGUI_Workshop::insertFeatureFolder() aMgr->startOperation(aDescription.toStdString()); aDoc->addFolder(aFeature); aMgr->finishOperation(); + + updateCommandStatus(); } @@ -2655,6 +2657,8 @@ void XGUI_Workshop::insertToFolder(bool isBefore) aMgr->startOperation(aDescription.toStdString()); aDoc->moveToFolder(aFeatures, aFolder); aMgr->finishOperation(); + + updateCommandStatus(); } void XGUI_Workshop::moveOutFolder(bool isBefore) @@ -2673,4 +2677,6 @@ void XGUI_Workshop::moveOutFolder(bool isBefore) aMgr->startOperation(aDescription.toStdString()); aDoc->removeFromFolder(aFeatures, isBefore); aMgr->finishOperation(); + + updateCommandStatus(); }