projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb70d42
)
selecting a track in the mixer, with synced selection, will now clear any objects...
author
Ben Loftis
<ben@harrisonconsoles.com>
Tue, 2 Sep 2014 21:08:29 +0000
(16:08 -0500)
committer
Ben Loftis
<ben@harrisonconsoles.com>
Wed, 3 Sep 2014 14:40:22 +0000
(09:40 -0500)
gtk2_ardour/selection.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/selection.cc
b/gtk2_ardour/selection.cc
index 4ebd3a583a706c089054342c2f83f7c863623090..507245eb3d6a10a7e93a99e4bf2c6c013232330a 100644
(file)
--- 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);