Salome HOME
Make same planes cannot be used twice in partition tool
[modules/shaper.git] / src / XGUI / XGUI_ModuleConnector.cpp
index 301b1019285ed126fa4d9407c4146b606394b80b..bc8d74140c16a92a0e5c824875800a9e4aa7c87d 100644 (file)
@@ -123,12 +123,17 @@ ModuleBase_Operation* XGUI_ModuleConnector::findStartedOperation(const QString&
   return myWorkshop->operationMgr()->findOperation(theId);
 }
 
-bool XGUI_ModuleConnector::canStopOperation()
+bool XGUI_ModuleConnector::canStopOperation(ModuleBase_Operation* theOperation)
 {
-  return myWorkshop->operationMgr()->canStopOperation();
+  return myWorkshop->operationMgr()->canStopOperation(theOperation);
 }
 
 void XGUI_ModuleConnector::abortOperation(ModuleBase_Operation* theOperation)
 {
   myWorkshop->operationMgr()->abortOperation(theOperation);
 }
+
+void XGUI_ModuleConnector::updateCommandStatus()
+{
+  myWorkshop->updateCommandStatus();
+}
\ No newline at end of file