From 741c7229c7ca882383defe3f32962a1b3b2166a4 Mon Sep 17 00:00:00 2001 From: Johannes Mueller Date: Thu, 20 Jul 2017 17:31:36 +0200 Subject: Select the clicked route in the current mixer strip (fixes #7429) Issue #7429 reports that that clicking a route of an already selected group does not update the editor mixer strip selection. To fix this we call Editor::set_selected_mixer_strip() at the end of RouteTimeAxisView::selection_click(); The overhead of maybe calling it twice should be toleratable, as ::set_selected_mixer_strip() checks, if the route is already the current mixer strip route before setting it. --- gtk2_ardour/route_time_axis.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk2_ardour/route_time_axis.cc') diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index 25bc095389..b0651a9dfb 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -1340,6 +1340,8 @@ RouteTimeAxisView::selection_click (GdkEventButton* ev) } _editor.commit_reversible_selection_op (); + + _editor.set_selected_mixer_strip (*this); } void -- cgit v1.2.3