selecting a track in the mixer, with synced selection, will now clear any objects...
authorBen Loftis <ben@harrisonconsoles.com>
Tue, 2 Sep 2014 21:08:29 +0000 (16:08 -0500)
committerBen Loftis <ben@harrisonconsoles.com>
Wed, 3 Sep 2014 14:40:22 +0000 (09:40 -0500)
gtk2_ardour/selection.cc

index 4ebd3a583a706c089054342c2f83f7c863623090..507245eb3d6a10a7e93a99e4bf2c6c013232330a 100644 (file)
@@ -399,6 +399,8 @@ Selection::add (const list<boost::shared_ptr<Playlist> >& pllist)
 void
 Selection::add (const TrackViewList& track_list)
 {
+       clear_objects();  //enforce object/range exclusivity
+
        TrackViewList added = tracks.add (track_list);
 
        if (!added.empty()) {
@@ -414,6 +416,8 @@ Selection::add (const TrackViewList& track_list)
 void
 Selection::add (TimeAxisView* track)
 {
+       clear_objects();  //enforce object/range exclusivity
+
        TrackViewList tr;
        track->set_selected (true);
        tr.push_back (track);