mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +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)) {
|
||||
return;
|
||||
}
|
||||
clear_objects(); //enforce object/range exclusivity
|
||||
|
||||
TrackViewList tr;
|
||||
track->set_selected (true);
|
||||
tr.push_back (track);
|
||||
add (tr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue