avoid doing needless duplicate work in Selection::add (TimeAxisView*)
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 26 Feb 2017 17:19:00 +0000 (18:19 +0100)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 26 Feb 2017 17:24:56 +0000 (18:24 +0100)
gtk2_ardour/selection.cc

index be22b8737ab78af51caa99403217d58b9d0fd731..23abfa17c35cbc375529f89e83750d6ed04c10f9 100644 (file)
@@ -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);
 }