From 842d758ed2186cbd7c7809db9de56c8a4d96e8c5 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 20 Oct 2017 19:08:48 +0200 Subject: [PATCH] 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. --- gtk2_ardour/editor_selection.cc | 2 ++ 1 file changed, 2 insertions(+) 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 uw (_track_selection_change_without_scroll, true); + RouteGroup* group = NULL; if (clicked_routeview) { group = clicked_routeview->route()->route_group();