"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).
This commit is contained in:
parent
9d99e558b3
commit
f25824ed28
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user