diff options
author | Johannes Mueller <github@johannes-mueller.org> | 2017-07-20 18:57:09 +0200 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-07-20 15:05:07 -0400 |
commit | 2f66899222c35deda928eea4d123abb4aa3af560 (patch) | |
tree | bb1d09fbb8626918e32bf73394e48e2fcdf682d4 /gtk2_ardour | |
parent | 741c7229c7ca882383defe3f32962a1b3b2166a4 (diff) |
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.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/mixer_ui.cc | 5 |
1 files changed, 5 insertions, 0 deletions
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); |