diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index e08049db33..b1683af5b6 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -2950,6 +2950,14 @@ These settings will only take effect after %1 is restarted.\n\ sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_show_region_xrun_markers) )); + add_option (_("Editor"), + new BoolOption ( + "show-region-cue-markers", + _("Show cue markers in regions"), + sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::get_show_region_cue_markers), + sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_show_region_cue_markers) + )); + add_option (_("Editor"), new BoolComboOption ( "show-region-gain-envelopes", diff --git a/gtk2_ardour/region_view.cc b/gtk2_ardour/region_view.cc index 803b1dc76f..c4232afb18 100644 --- a/gtk2_ardour/region_view.cc +++ b/gtk2_ardour/region_view.cc @@ -524,7 +524,7 @@ RegionView::update_xrun_markers () void RegionView::update_cue_markers () { - const bool show_cue_markers = UIConfiguration::instance().get_show_region_xrun_markers(); + const bool show_cue_markers = UIConfiguration::instance().get_show_region_cue_markers(); if (_cue_markers_visible == show_cue_markers && !_cue_markers_visible) { return; } diff --git a/gtk2_ardour/ui_config_vars.h b/gtk2_ardour/ui_config_vars.h index 37d1ea6a01..a31420dedc 100644 --- a/gtk2_ardour/ui_config_vars.h +++ b/gtk2_ardour/ui_config_vars.h @@ -72,6 +72,7 @@ UI_CONFIG_VARIABLE (std::string, mixer_strip_visibility, "mixer-element-visibili UI_CONFIG_VARIABLE (bool, allow_non_quarter_pulse, "allow-non-quarter-pulse", false) UI_CONFIG_VARIABLE (bool, show_region_gain, "show-region-gain", false) UI_CONFIG_VARIABLE (bool, show_region_xrun_markers, "show-region-xrun-markers", true) +UI_CONFIG_VARIABLE (bool, show_region_cue_markers, "show-region-cue-markers", true) UI_CONFIG_VARIABLE (bool, show_name_highlight, "show-name-highlight", false) UI_CONFIG_VARIABLE (ARDOUR::ClockDeltaMode, primary_clock_delta_mode, "primary-clock-delta-mode", NoDelta) UI_CONFIG_VARIABLE (ARDOUR::ClockDeltaMode, secondary_clock_delta_mode, "secondary-clock-delta-mode", NoDelta)