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.
This commit is contained in:
Johannes Mueller 2017-07-20 17:31:36 +02:00 committed by Paul Davis
parent 611a150dfb
commit 741c7229c7
1 changed files with 2 additions and 0 deletions

View File

@ -1340,6 +1340,8 @@ RouteTimeAxisView::selection_click (GdkEventButton* ev)
}
_editor.commit_reversible_selection_op ();
_editor.set_selected_mixer_strip (*this);
}
void