]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_OperationFeature.cpp
Salome HOME
Issue #1080 generation of plugin Shaper v1.4 with VisualStudio 2010
[modules/shaper.git] / src / ModuleBase / ModuleBase_OperationFeature.cpp
index da5ff1fcb2c3f5325ad25c0e63fbf2621719d138..c8f1224b69d97c89ed9dcd2e6c79b790861d7147 100755 (executable)
@@ -200,7 +200,7 @@ bool ModuleBase_OperationFeature::isDisplayedOnStart(ObjectPtr theObject)
   return myVisualizedObjects.find(theObject) != myVisualizedObjects.end();
 }
 
-void ModuleBase_OperationFeature::start()
+bool ModuleBase_OperationFeature::start()
 {
   setIsModified(false);
   QString anId = getDescription()->operationId();
@@ -220,12 +220,12 @@ void ModuleBase_OperationFeature::start()
       // in order to update commands status in the workshop, to be exact the feature action
       // to be unchecked
       abort();
-      return;
+      return false;
     }
   }
   //Already called startOperation();
   emit started();
-
+  return true;
 }
 
 void ModuleBase_OperationFeature::abort()