]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Update Undo/Redo list while contacting with folder
authorazv <azv@opencascade.com>
Fri, 15 Dec 2017 08:32:48 +0000 (11:32 +0300)
committerazv <azv@opencascade.com>
Fri, 15 Dec 2017 09:21:32 +0000 (12:21 +0300)
src/XGUI/XGUI_Workshop.cpp

index 94dce62bb9a75bbc8db01977526fc1fffaac9d09..6cb816382fe023cad1b64bb5fe99b057df762cce 100755 (executable)
@@ -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();
 }