summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-08-05 21:12:52 +0200
committerRobin Gareus <robin@gareus.org>2017-08-05 21:12:52 +0200
commitf25824ed28c0dc5d7a108735dd4b988a5d7fcd44 (patch)
tree31be516adfe10c7ba745bf401fbb1164457d003b /libs
parent9d99e558b32dbb279888d21ed7329d2f8e1cac91 (diff)
"Selected" is a PresentationInfo Property.
This fixes MIDI Input follows MIDI track selection (and maybe other issues) and hopefully breaks nothing else (most places subscribe to both Stripable::PropertyChanged and PresentationInfo::PropertyChanged).
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/selection.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/selection.cc b/libs/ardour/selection.cc
index 3193b12b20..d6d76574bf 100644
--- a/libs/ardour/selection.cc
+++ b/libs/ardour/selection.cc
@@ -86,7 +86,7 @@ CoreSelection::add (boost::shared_ptr<Stripable> s, boost::shared_ptr<Automation
*/
if (s) {
PropertyChange pc (Properties::selected);
- s->PropertyChanged (pc);
+ s->presentation_info().PropertyChanged (pc);
}
}
}
@@ -116,7 +116,7 @@ CoreSelection::remove (boost::shared_ptr<Stripable> s, boost::shared_ptr<Automat
*/
if (s) {
PropertyChange pc (Properties::selected);
- s->PropertyChanged (pc);
+ s->presentation_info().PropertyChanged (pc);
}
}
}
@@ -145,7 +145,7 @@ CoreSelection::set (boost::shared_ptr<Stripable> s, boost::shared_ptr<Automation
*/
if (s) {
PropertyChange pc (Properties::selected);
- s->PropertyChanged (pc);
+ s->presentation_info().PropertyChanged (pc);
}
}
@@ -183,7 +183,7 @@ CoreSelection::clear_stripables ()
PropertyChange pc (Properties::selected);
for (std::vector<boost::shared_ptr<Stripable> >::iterator ss = s.begin(); ss != s.end(); ++ss) {
- (*ss)->PropertyChanged (pc);
+ (*ss)->presentation_info().PropertyChanged (pc);
}
}