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
Update code documentation
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_OperationMgr.cpp
diff --git
a/src/XGUI/XGUI_OperationMgr.cpp
b/src/XGUI/XGUI_OperationMgr.cpp
index a46365d9fbfb99da64e2374edc2733381748971e..a8f68277b5aa2266d32b6cb4f4d6c4b33730a9d8 100644
(file)
--- a/
src/XGUI/XGUI_OperationMgr.cpp
+++ b/
src/XGUI/XGUI_OperationMgr.cpp
@@
-13,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)
{
}
{
}
@@
-139,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);
}