Fix session range location by hooking into the undo system. Fixes #3654.
[ardour.git] / gtk2_ardour / editor.cc
index 086e68ab3c4f8816aa95f8e6c04c369322b0e1b9..ba8a5e93e84ae47177582e89ddabc5083fdccfb3 100644 (file)
@@ -3069,6 +3069,14 @@ Editor::begin_reversible_command (string name)
        }
 }
 
+void
+Editor::begin_reversible_command (GQuark q)
+{
+       if (_session) {
+               _session->begin_reversible_command (q);
+       }
+}
+
 void
 Editor::commit_reversible_command ()
 {