diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 075a9399f3..8053851f11 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -3153,7 +3153,6 @@ void Editor::begin_reversible_command (string name) { if (_session) { - before = &get_state(); _session->begin_reversible_command (name); } } @@ -3162,7 +3161,7 @@ void Editor::commit_reversible_command () { if (_session) { - _session->commit_reversible_command (new MementoCommand(*this, before, &get_state())); + _session->commit_reversible_command (); } }