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
Correct compilation on Linux.
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_OperationAction.cpp
diff --git
a/src/ModuleBase/ModuleBase_OperationAction.cpp
b/src/ModuleBase/ModuleBase_OperationAction.cpp
index cabc64c79b5868272fbacd7eddc992aa5b33360a..19dda8a73709c9933637d173a18a06ff4b883c33 100755
(executable)
--- a/
src/ModuleBase/ModuleBase_OperationAction.cpp
+++ b/
src/ModuleBase/ModuleBase_OperationAction.cpp
@@
-17,3
+17,11
@@
ModuleBase_OperationAction::ModuleBase_OperationAction(const QString& theId, QOb
ModuleBase_OperationAction::~ModuleBase_OperationAction()
{
}
ModuleBase_OperationAction::~ModuleBase_OperationAction()
{
}
+
+bool ModuleBase_OperationAction::commit()
+{
+ // the action is supposed to perform a single modification, so the operation returns modified state
+ setIsModified(true);
+
+ return ModuleBase_Operation::commit();
+}