mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 13:46:30 +01:00
(Source List) Source property signals (libardour part)
This commit is contained in:
parent
949450bbb5
commit
ca3c191d7c
9 changed files with 60 additions and 22 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue