From 36bee8f1b0f322a03ab40523dd82d88794570b11 Mon Sep 17 00:00:00 2001 From: vsv Date: Tue, 13 Oct 2015 10:14:08 +0300 Subject: [PATCH] Issue #1055: abort all operations on Property panel closing --- src/XGUI/XGUI_PropertyPanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2