13
0

Don't move track into view due to indirect selection

This fixes an issue with grouped tracks, starting a [range] selection
on the bottom-most. Due to group-selection all tracks in the group
are selected. Previously this vertically-scrolled to move the
top-most into view, which could move the bottom-most out of view.
This commit is contained in:
Robin Gareus 2017-10-20 19:08:48 +02:00
parent aea350c958
commit 842d758ed2

View File

@ -191,6 +191,8 @@ Editor::set_selected_track_as_side_effect (Selection::Operation op)
return;
}
PBD::Unwinder<bool> uw (_track_selection_change_without_scroll, true);
RouteGroup* group = NULL;
if (clicked_routeview) {
group = clicked_routeview->route()->route_group();