From 4829abf1c9ab4d6f03c1442a817e2a8fbf0991fd Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 21 Dec 2015 13:33:25 +0300 Subject: [PATCH] #1141 Part is not deleted --- src/PartSet/PartSet_MenuMgr.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/PartSet/PartSet_MenuMgr.cpp b/src/PartSet/PartSet_MenuMgr.cpp index d2a2f4efe..f39331b62 100644 --- a/src/PartSet/PartSet_MenuMgr.cpp +++ b/src/PartSet/PartSet_MenuMgr.cpp @@ -447,6 +447,7 @@ void PartSet_MenuMgr::onActivatePart(bool) } if (aPart.get()) aPart->activate(); + myModule->workshop()->updateCommandStatus(); } } @@ -465,6 +466,8 @@ void PartSet_MenuMgr::activatePartSet() const if (isNewTransaction) aMgr->startOperation("Activation"); aMgr->setActiveDocument(aMgr->moduleDocument()); if (isNewTransaction) aMgr->finishOperation(); + + myModule->workshop()->updateCommandStatus(); } void PartSet_MenuMgr::grantedOperationIds(ModuleBase_Operation* theOperation, -- 2.39.2