From 4e85bda431cae92ba51531e427e0ed5d9de95ef7 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Tue, 2 Sep 2014 16:08:29 -0500 Subject: [PATCH] selecting a track in the mixer, with synced selection, will now clear any objects selected --- gtk2_ardour/selection.cc | 4 ++++ 1 file changed, 4 insertions(+) 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 >& 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);