From f25824ed28c0dc5d7a108735dd4b988a5d7fcd44 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 5 Aug 2017 21:12:52 +0200 Subject: "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). --- libs/ardour/selection.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libs') 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 s, boost::shared_ptrPropertyChanged (pc); + s->presentation_info().PropertyChanged (pc); } } } @@ -116,7 +116,7 @@ CoreSelection::remove (boost::shared_ptr s, boost::shared_ptrPropertyChanged (pc); + s->presentation_info().PropertyChanged (pc); } } } @@ -145,7 +145,7 @@ CoreSelection::set (boost::shared_ptr s, boost::shared_ptrPropertyChanged (pc); + s->presentation_info().PropertyChanged (pc); } } @@ -183,7 +183,7 @@ CoreSelection::clear_stripables () PropertyChange pc (Properties::selected); for (std::vector >::iterator ss = s.begin(); ss != s.end(); ++ss) { - (*ss)->PropertyChanged (pc); + (*ss)->presentation_info().PropertyChanged (pc); } } -- cgit v1.2.3