]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
#1105 Abort boolean operation shows warning dialog twice
authornds <nds@opencascade.com>
Fri, 11 Dec 2015 12:42:15 +0000 (15:42 +0300)
committernds <nds@opencascade.com>
Fri, 11 Dec 2015 12:42:15 +0000 (15:42 +0300)
src/XGUI/XGUI_PropertyPanel.cpp

index 762bde305e20d92063faad3d91103046076213a0..413059e2ab41c545f4c3e723f52e43799ee7e2b8 100755 (executable)
@@ -334,8 +334,7 @@ void XGUI_PropertyPanel::closeEvent(QCloseEvent* theEvent)
 {
   ModuleBase_Operation* aOp = myOperationMgr->currentOperation();
   if (aOp) {
-    if (myOperationMgr->canStopOperation(aOp)) {
-      myOperationMgr->abortAllOperations();
+    if (myOperationMgr->abortAllOperations()) {
       theEvent->accept();
     } else 
       theEvent->ignore();