mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
[Summary] Track selection must not impact on region selection performed by pressing Shift+click
This commit is contained in:
parent
d9e0a534a5
commit
3d33839182
1 changed files with 2 additions and 12 deletions
|
|
@ -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<RouteTimeAxisView*> relevant_tracks;
|
||||
|
||||
for (TrackSelection::iterator i = selection->tracks.begin(); i != selection->tracks.end(); ++i) {
|
||||
RouteTimeAxisView* r = dynamic_cast<RouteTimeAxisView*> (*i);
|
||||
if (r) {
|
||||
relevant_tracks.insert (r);
|
||||
}
|
||||
}
|
||||
|
||||
set<RouteTimeAxisView*> 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue