Salome HOME
Issue #1055: abort all operations on Property panel closing V_1.4.0_demo2
authorvsv <vitaly.smetannikov@opencascade.com>
Tue, 13 Oct 2015 07:14:08 +0000 (10:14 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Tue, 13 Oct 2015 07:14:08 +0000 (10:14 +0300)
src/XGUI/XGUI_PropertyPanel.cpp

index fdabd150cf9fa278078e2295c8e3bad42f7a97da..1df3582db947ace423990953b47e01a4c0cf14d1 100644 (file)
@@ -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();