diff options
author | Johannes Mueller <github@johannes-mueller.org> | 2017-07-20 17:31:36 +0200 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-07-20 15:05:07 -0400 |
commit | 741c7229c7ca882383defe3f32962a1b3b2166a4 (patch) | |
tree | e74e27e9e17856da60314ab54e7f4322e1d52a50 /gtk2_ardour/route_time_axis.cc | |
parent | 611a150dfb1a96f84bcea57236137c366806dd07 (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.cc | 2 |
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 |