Salome HOME
#1107 Tab key does not change focus to Apply in circle sketch feature.
[modules/shaper.git] / 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();