summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorJohannes Mueller <github@johannes-mueller.org>2017-07-20 17:31:36 +0200
committerPaul Davis <paul@linuxaudiosystems.com>2017-07-20 15:05:07 -0400
commit741c7229c7ca882383defe3f32962a1b3b2166a4 (patch)
treee74e27e9e17856da60314ab54e7f4322e1d52a50 /gtk2_ardour/route_time_axis.cc
parent611a150dfb1a96f84bcea57236137c366806dd07 (diff)
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.
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc2
1 files changed, 2 insertions, 0 deletions
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