From f2fe97924c7b6f61fdc7c74087ab75d92641c275 Mon Sep 17 00:00:00 2001 From: azv Date: Fri, 15 Dec 2017 11:32:48 +0300 Subject: [PATCH] Update Undo/Redo list while contacting with folder --- src/XGUI/XGUI_Workshop.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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(); } -- 2.39.2