]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Update state of Apply and Continue button
authorvsv <vsv@opencascade.com>
Thu, 6 Feb 2020 15:26:16 +0000 (18:26 +0300)
committervsr <vsr@opencascade.com>
Mon, 10 Feb 2020 14:15:57 +0000 (17:15 +0300)
src/XGUI/XGUI_Workshop.cpp

index e7dcbfc72ac92d1569dc4fe0c05490a0456a615f..c1598b82984a957edf34ca9ffef6a2e70d6b2562 100644 (file)
@@ -1302,6 +1302,7 @@ void XGUI_Workshop::onImportPart()
   if (abortAllOperations()) {
     ModuleBase_OperationFeature* anImportPartOp = dynamic_cast<ModuleBase_OperationFeature*>(
         module()->createOperation(ExchangePlugin_ImportPart::ID()));
+    myPropertyPanel->updateApplyPlusButton(anImportPartOp->feature());
     operationMgr()->startOperation(anImportPartOp);
   }
 }
@@ -1312,6 +1313,7 @@ void XGUI_Workshop::onImportShape()
   if (abortAllOperations()) {
     ModuleBase_OperationFeature* anImportOp = dynamic_cast<ModuleBase_OperationFeature*>(
         module()->createOperation(ExchangePlugin_Import::ID()));
+    myPropertyPanel->updateApplyPlusButton(anImportOp->feature());
     operationMgr()->startOperation(anImportOp);
   }
 }
@@ -1322,6 +1324,7 @@ void XGUI_Workshop::onExportPart()
   if (abortAllOperations()) {
     ModuleBase_OperationFeature* anExportPartOp = dynamic_cast<ModuleBase_OperationFeature*>(
         module()->createOperation(ExchangePlugin_ExportPart::ID()));
+    myPropertyPanel->updateApplyPlusButton(anExportPartOp->feature());
     operationMgr()->startOperation(anExportPartOp);
   }
 }