diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2018-11-15 09:21:31 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2019-08-01 12:11:31 -0500 |
commit | ca3c191d7cf01712b961eec1aa7b0e979995e2a5 (patch) | |
tree | a2186e8f0fcf2db66203b73a00fd29700966c632 /libs/ardour/smf_source.cc | |
parent | 949450bbb5a3185c51d7e2f9114c4e20fc3e1f10 (diff) |
(Source List) Source property signals (libardour part)
Diffstat (limited to 'libs/ardour/smf_source.cc')
-rw-r--r-- | libs/ardour/smf_source.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/smf_source.cc b/libs/ardour/smf_source.cc index 078113fb9b..68230d5c3d 100644 --- a/libs/ardour/smf_source.cc +++ b/libs/ardour/smf_source.cc @@ -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(); } |