diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index 95d0f27ee5..47f10e782b 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -845,20 +845,10 @@ Editor::set_selected_regionview_from_click (bool press, Selection::Operation op) /* 2. find all the tracks we should select in */ set relevant_tracks; - - for (TrackSelection::iterator i = selection->tracks.begin(); i != selection->tracks.end(); ++i) { - RouteTimeAxisView* r = dynamic_cast (*i); - if (r) { - relevant_tracks.insert (r); - } - } - set already_in_selection; - if (relevant_tracks.empty()) { - - /* no tracks selected .. thus .. if the - regionview we're in isn't selected + { + /* if the regionview we're in isn't selected (i.e. we're about to extend to it), then find all tracks between the this one and any selected ones.