Exclusive solo may select track

The idea is to show the selected route on the bottom panel
(focus channel) so that one can edit the channel strip settings
of what one hears (currently only useful in Mixbus).
This commit is contained in:
Robin Gareus
2025-06-20 18:22:52 +02:00
parent e1fc24723a
commit 0bd6c9d39f
2 changed files with 13 additions and 0 deletions

View File

@@ -700,6 +700,18 @@ RouteUI::solo_press(GdkEventButton* ev)
DisplaySuspender ds;
_route->solo_control()->set_value (1.0, Controllable::NoGroup);
/* select exclusively soloed track */
if (!_solo_release && UIConfiguration::instance().get_exclusive_solo_selects_route ()) {
PublicEditor& pe = PublicEditor::instance();
TimeAxisView* tav = pe.time_axis_view_from_stripable (_route);
if (tav) {
TrackViewList selected;
selected.push_back (tav);
pe.get_selection().set (selected);
pe.set_selected_mixer_strip (*tav);
}
}
/* } else if (Keyboard::modifier_state_equals (ev->state, Keyboard::PrimaryModifier)) { do not explicitly implement Primary Modifier; this is the default for Momentary */
/* } else if (Keyboard::modifier_state_equals (ev->state, Keyboard::TertiaryModifier)) { do not explicitly implement Tertiary Modifier; this is the default for Group-Override */

View File

@@ -65,6 +65,7 @@ UI_CONFIG_VARIABLE (bool, update_editor_during_summary_drag, "update-editor-duri
UI_CONFIG_VARIABLE (bool, never_display_periodic_midi, "never-display-periodic-midi", true)
UI_CONFIG_VARIABLE (bool, sound_midi_notes, "sound-midi-notes", true)
UI_CONFIG_VARIABLE (bool, select_last_drawn_note_only, "select-last-drawn-note-only", true)
UI_CONFIG_VARIABLE (bool, exclusive_solo_selects_route, "exclusive-solo-selects-route", false)
UI_CONFIG_VARIABLE (bool, show_plugin_scan_window, "show-plugin-scan-window", false)
UI_CONFIG_VARIABLE (bool, show_manager_if_plugins_are_missing, "show-manager-if-plugins-are-missing", true)
UI_CONFIG_VARIABLE (bool, show_zoom_tools, "show-zoom-tools", true)