Salome HOME
Issue #971: Update OB on duplicate part: send event on creation of a new document...
[modules/shaper.git] / src / XGUI / XGUI_ActionsMgr.cpp
index 968457ffe19d1e90074e8f6158a4f4b5223ab051..b25a6fb75ab96ed4e140ea528f1a6bbb6a904a68 100644 (file)
@@ -108,8 +108,8 @@ void XGUI_ActionsMgr::update()
       anActiveFeature = aFOperation->feature();
       if(anActiveFeature.get()) {
         setAllEnabled(false);
-        QString aFeatureId = QString::fromStdString(anActiveFeature->getKind());
-        setActionEnabled(aFeatureId, true);
+        //QString aFeatureId = QString::fromStdString(anActiveFeature->getKind());
+        //setActionEnabled(aFeatureId, true);
       }
       setNestedStackEnabled(aFOperation);
     } else {
@@ -306,7 +306,7 @@ void XGUI_ActionsMgr::setNestedStackEnabled(ModuleBase_Operation* theOperation)
     return;
   FeaturePtr aFeature = anOperation->feature();
   QString aFeatureId = QString::fromStdString(aFeature->getKind());
-  setActionEnabled(aFeatureId, true);
+  //setActionEnabled(aFeatureId, true);
   setNestedCommandsEnabled(true, aFeatureId);
 
   setNestedStackEnabled(myOperationMgr->previousOperation(theOperation));