Salome HOME
Improve multi-selector control to provide items multi-selection and "Delete" context...
[modules/shaper.git] / src / ModuleBase / ModuleBase_OperationAction.cpp
index cabc64c79b5868272fbacd7eddc992aa5b33360a..19dda8a73709c9933637d173a18a06ff4b883c33 100755 (executable)
@@ -17,3 +17,11 @@ ModuleBase_OperationAction::ModuleBase_OperationAction(const QString& theId, QOb
 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();
+}