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
Workaround for bug #25637
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_OperationMgr.cpp
diff --git
a/src/XGUI/XGUI_OperationMgr.cpp
b/src/XGUI/XGUI_OperationMgr.cpp
index 756b7b9354fe34f46db2e52e8a3414e97cb44d82..a8f68277b5aa2266d32b6cb4f4d6c4b33730a9d8 100644
(file)
--- a/
src/XGUI/XGUI_OperationMgr.cpp
+++ b/
src/XGUI/XGUI_OperationMgr.cpp
@@
-1,3
+1,5
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
+
// File: XGUI_OperationMgr.h
// Created: 20 Apr 2014
// Author: Natalia ERMOLAEVA
// File: XGUI_OperationMgr.h
// Created: 20 Apr 2014
// Author: Natalia ERMOLAEVA
@@
-11,7
+13,7
@@
#include <QKeyEvent>
XGUI_OperationMgr::XGUI_OperationMgr(QObject* theParent)
#include <QKeyEvent>
XGUI_OperationMgr::XGUI_OperationMgr(QObject* theParent)
- : QObject(theParent)
+ : QObject(theParent)
, myIsValidationLock(false)
{
}
{
}
@@
-137,7
+139,7
@@
void XGUI_OperationMgr::onValidateOperation()
if (!hasOperation())
return;
ModuleBase_Operation* anOperation = currentOperation();
if (!hasOperation())
return;
ModuleBase_Operation* anOperation = currentOperation();
- if(anOperation) {
+ if(anOperation
&& (!myIsValidationLock)
) {
bool isValid = anOperation->isValid();
emit operationValidated(isValid);
}
bool isValid = anOperation->isValid();
emit operationValidated(isValid);
}