From: vsv Date: Tue, 13 Oct 2015 07:14:08 +0000 (+0300) Subject: Issue #1055: abort all operations on Property panel closing X-Git-Tag: V_1.4.0_demo2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=940be7f3d116b75729f54e4121f56845ff129229;p=modules%2Fshaper.git Issue #1055: abort all operations on Property panel closing --- diff --git a/src/XGUI/XGUI_PropertyPanel.cpp b/src/XGUI/XGUI_PropertyPanel.cpp index fdabd150c..1df3582db 100644 --- a/src/XGUI/XGUI_PropertyPanel.cpp +++ b/src/XGUI/XGUI_PropertyPanel.cpp @@ -265,7 +265,7 @@ void XGUI_PropertyPanel::closeEvent(QCloseEvent* theEvent) ModuleBase_Operation* aOp = myOperationMgr->currentOperation(); if (aOp) { if (myOperationMgr->canStopOperation(aOp)) { - myOperationMgr->abortOperation(aOp); + myOperationMgr->abortAllOperations(); theEvent->accept(); } else theEvent->ignore();