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^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=36bee8f1b0f322a03ab40523dd82d88794570b11;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();