summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/memento_command.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd/memento_command.h')
-rw-r--r--libs/pbd/pbd/memento_command.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/pbd/memento_command.h b/libs/pbd/pbd/memento_command.h
index b1347c169d..c1e5d75f9c 100644
--- a/libs/pbd/pbd/memento_command.h
+++ b/libs/pbd/pbd/memento_command.h
@@ -54,13 +54,13 @@ public:
void operator() () {
if (after) {
- obj.set_state(*after);
+ obj.set_state(*after, Stateful::current_state_version);
}
}
void undo() {
if (before) {
- obj.set_state(*before);
+ obj.set_state(*before, Stateful::current_state_version);
}
}