]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_ModuleConnector.cpp
Salome HOME
Preparations for Split operation. It includes:
[modules/shaper.git] / src / XGUI / XGUI_ModuleConnector.cpp
index 6312c827b50f478fd629da33c72f858007957e6e..c3b079f05cb0299fd275c40530863e55f15b66de 100644 (file)
@@ -130,18 +130,15 @@ bool XGUI_ModuleConnector::canStartOperation(QString theId)
   return myWorkshop->operationMgr()->canStartOperation(theId);
 }
 
-void XGUI_ModuleConnector::processLaunchOperation(ModuleBase_Operation* theOperation,
-                                                  const bool isUpdatePropertyPanel)
+void XGUI_ModuleConnector::processLaunchOperation(ModuleBase_Operation* theOperation)
 {
   XGUI_OperationMgr* anOperationMgr = workshop()->operationMgr();
 
   if (anOperationMgr->startOperation(theOperation)) {
-    if (isUpdatePropertyPanel) {
-      ModuleBase_OperationFeature* aFOperation = dynamic_cast<ModuleBase_OperationFeature*>(theOperation);
-      if (aFOperation) {
-        workshop()->propertyPanel()->updateContentWidget(aFOperation->feature());
-        workshop()->propertyPanel()->createContentPanel(aFOperation->feature());
-      }
+    ModuleBase_OperationFeature* aFOperation = dynamic_cast<ModuleBase_OperationFeature*>(theOperation);
+    if (aFOperation) {
+      workshop()->propertyPanel()->updateContentWidget(aFOperation->feature());
+      workshop()->propertyPanel()->createContentPanel(aFOperation->feature());
     }
     if (!theOperation->getDescription()->hasXmlRepresentation()) {
       if (theOperation->commit())