(Source List) Source property signals (libardour part)

This commit is contained in:
Ben Loftis 2018-11-15 09:21:31 -06:00
parent 949450bbb5
commit ca3c191d7c
9 changed files with 60 additions and 22 deletions

View file

@ -622,7 +622,8 @@ SMFSource::load_model (const Glib::Threads::Mutex::Lock& lock, bool force_reload
}
if (!_model) {
_model = boost::shared_ptr<MidiModel> (new MidiModel (shared_from_this ()));
boost::shared_ptr<SMFSource> smf = boost::dynamic_pointer_cast<SMFSource> ( shared_from_this () );
_model = boost::shared_ptr<MidiModel> (new MidiModel (smf));
} else {
_model->clear();
}