mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
avoid doing needless duplicate work in Selection::add (TimeAxisView*)
This commit is contained in:
parent
67ba18d154
commit
e653da32c0
1 changed files with 0 additions and 2 deletions
|
|
@ -459,10 +459,8 @@ Selection::add (TimeAxisView* track)
|
||||||
if (dynamic_cast<VCATimeAxisView*> (track)) {
|
if (dynamic_cast<VCATimeAxisView*> (track)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
clear_objects(); //enforce object/range exclusivity
|
|
||||||
|
|
||||||
TrackViewList tr;
|
TrackViewList tr;
|
||||||
track->set_selected (true);
|
|
||||||
tr.push_back (track);
|
tr.push_back (track);
|
||||||
add (tr);
|
add (tr);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue