avoid doing needless duplicate work in Selection::add (TimeAxisView*)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user