diff options
author | Robin Gareus <robin@gareus.org> | 2017-10-20 19:08:48 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-10-20 19:08:48 +0200 |
commit | 842d758ed2186cbd7c7809db9de56c8a4d96e8c5 (patch) | |
tree | 9bf7f2cc28bd81ae4310755e7d2a589cfd5d7ade | |
parent | aea350c958e2ec8ff545123cee5ae9157ef66fe3 (diff) |
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.
-rw-r--r-- | gtk2_ardour/editor_selection.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index d705189cdf..a263a4e1f7 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -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(); |