Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#1107 Tab key does not change focus to Apply in circle sketch feature.
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_PropertyPanel.cpp
diff --git
a/src/XGUI/XGUI_PropertyPanel.cpp
b/src/XGUI/XGUI_PropertyPanel.cpp
index 762bde305e20d92063faad3d91103046076213a0..413059e2ab41c545f4c3e723f52e43799ee7e2b8 100755
(executable)
--- a/
src/XGUI/XGUI_PropertyPanel.cpp
+++ b/
src/XGUI/XGUI_PropertyPanel.cpp
@@
-334,8
+334,7
@@
void XGUI_PropertyPanel::closeEvent(QCloseEvent* theEvent)
{
ModuleBase_Operation* aOp = myOperationMgr->currentOperation();
if (aOp) {
{
ModuleBase_Operation* aOp = myOperationMgr->currentOperation();
if (aOp) {
- if (myOperationMgr->canStopOperation(aOp)) {
- myOperationMgr->abortAllOperations();
+ if (myOperationMgr->abortAllOperations()) {
theEvent->accept();
} else
theEvent->ignore();
theEvent->accept();
} else
theEvent->ignore();