From: vsv Date: Thu, 6 Feb 2020 15:26:16 +0000 (+0300) Subject: Update state of Apply and Continue button X-Git-Tag: V9_5_0a1~14^2~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ca1d2b1f52f0992409e1f1a61980d6d9a5d2453a;p=modules%2Fshaper.git Update state of Apply and Continue button --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index e7dcbfc72..c1598b829 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -1302,6 +1302,7 @@ void XGUI_Workshop::onImportPart() if (abortAllOperations()) { ModuleBase_OperationFeature* anImportPartOp = dynamic_cast( 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( 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( module()->createOperation(ExchangePlugin_ExportPart::ID())); + myPropertyPanel->updateApplyPlusButton(anExportPartOp->feature()); operationMgr()->startOperation(anExportPartOp); } }