From 0631f99f15b98f72aa7ceecf574e0a57a62de52c Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 28 Oct 2024 14:02:08 -0600 Subject: [PATCH] add ability to change stop-on-grid from Preferences --- gtk2_ardour/rc_option_editor.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index 40497f3743..cb3a98353b 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -3753,6 +3753,14 @@ These settings will only take effect after %1 is restarted.\n\ ); add_option (_("Transport"), bo); + + bo = new BoolOption ("stop-on-grid", + _("Stop transport using the current grid (if any)"), + sigc::mem_fun (*_rc_config, &RCConfiguration::get_stop_on_grid), + sigc::mem_fun (*_rc_config, &RCConfiguration::set_stop_on_grid) + ); + add_option (_("Transport"), bo); + add_option (_("Transport"), new OptionEditorHeading (_("Looping"))); bo = new BoolOption (