From 26beea89ea7e0e9d08530a5d116b156d37e9f3e0 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Tue, 1 Feb 2022 16:33:39 -0600 Subject: [PATCH] changes to the Draw options should immediately sync state to instant.xml --- gtk2_ardour/editor.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 8bcb4ac38c..15acc888ae 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -2243,6 +2243,8 @@ Editor::set_draw_length_to (GridType gt) if (str != draw_length_selector.get_text()) { draw_length_selector.set_text (str); } + + instant_save (); } void @@ -2262,6 +2264,8 @@ Editor::set_draw_velocity_to (int v) char buf[64]; sprintf(buf, "%d", v ); draw_velocity_selector.set_text (buf); + + instant_save (); } void @@ -2281,6 +2285,8 @@ Editor::set_draw_channel_to (int c) char buf[64]; sprintf(buf, "%d", c+1 ); draw_channel_selector.set_text (buf); + + instant_save (); } void