]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
The bug fix: the enable state of nested sketch actions until sketch plane is not...
authornds <natalia.donis@opencascade.com>
Fri, 24 Apr 2015 16:18:20 +0000 (19:18 +0300)
committernds <natalia.donis@opencascade.com>
Fri, 24 Apr 2015 16:18:20 +0000 (19:18 +0300)
src/XGUI/XGUI_ActionsMgr.cpp

index bdc91203b025b8dea63c8956eaaeabbbfd8ed10f..1abb8dd70d683cf53b0cf1b096d01063b207e107 100644 (file)
@@ -141,11 +141,11 @@ void XGUI_ActionsMgr::updateOnViewSelection()
   //QString aFeatureId = QString::fromStdString(anActiveFeature->getKind());
   XGUI_Selection* aSelection = myWorkshop->selector()->selection();
   if (aSelection->getSelected().size() == 0) {
-    foreach(QString aFeatureId, aIdList) {
+    /*foreach(QString aFeatureId, aIdList) {
       foreach(QString aId, nestedCommands(aFeatureId)) {
         setActionEnabled(aId, true);
       }
-    }
+    }*/
   } else { 
     SessionPtr aMgr = ModelAPI_Session::get();
     ModelAPI_ValidatorsFactory* aFactory = aMgr->validators();