From 2f66899222c35deda928eea4d123abb4aa3af560 Mon Sep 17 00:00:00 2001 From: Johannes Mueller Date: Thu, 20 Jul 2017 18:57:09 +0200 Subject: Equivalent fix for #7429 for the mixer The previous commit addressed only the behavior of clicking a route in the editor window. Now we handle the same issue in the mixer window. --- gtk2_ardour/mixer_ui.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gtk2_ardour/mixer_ui.cc') diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc index 1a4a897a72..d982e5a301 100644 --- a/gtk2_ardour/mixer_ui.cc +++ b/gtk2_ardour/mixer_ui.cc @@ -903,6 +903,11 @@ Mixer_UI::strip_button_release_event (GdkEventButton *ev, MixerStrip *strip) /* de-select others */ _selection.set (strip); } + PublicEditor& pe = PublicEditor::instance(); + TimeAxisView* tav = pe.time_axis_view_from_stripable (strip->stripable()); + if (tav) { + pe.set_selected_mixer_strip (*tav); + } } else { if (Keyboard::modifier_state_equals (ev->state, Keyboard::PrimaryModifier)) { _selection.add (strip, true); -- cgit v1.2.3