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)) {
|
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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user