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.
This commit is contained in:
Johannes Mueller 2017-07-20 18:57:09 +02:00 committed by Paul Davis
parent 741c7229c7
commit 2f66899222
1 changed files with 5 additions and 0 deletions

View File

@ -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);