diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2014-09-02 16:08:29 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2014-09-03 09:40:22 -0500 |
commit | 4e85bda431cae92ba51531e427e0ed5d9de95ef7 (patch) | |
tree | 290ca5ec571f573877e12a22bf0be98d119fa5d0 /gtk2_ardour/selection.cc | |
parent | bb70d426badc201a0a0e7a53fd1816343b5779ed (diff) |
selecting a track in the mixer, with synced selection, will now clear any objects selected
Diffstat (limited to 'gtk2_ardour/selection.cc')
-rw-r--r-- | gtk2_ardour/selection.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/selection.cc b/gtk2_ardour/selection.cc index 4ebd3a583a..507245eb3d 100644 --- a/gtk2_ardour/selection.cc +++ b/gtk2_ardour/selection.cc @@ -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); |