diff options
Diffstat (limited to 'libs/ardour/source_factory.cc')
-rw-r--r-- | libs/ardour/source_factory.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/source_factory.cc b/libs/ardour/source_factory.cc index d07b9d6d69..3a657bc0e2 100644 --- a/libs/ardour/source_factory.cc +++ b/libs/ardour/source_factory.cc @@ -169,8 +169,10 @@ SourceFactory::create (Session& s, const XMLNode& node, bool defer_peaks) #endif } else if (type == DataType::MIDI) { - - boost::shared_ptr<Source> ret (new SMFSource (s, node)); + boost::shared_ptr<Source> ret (new SMFSource (s, node)); + + SourceCreated (ret); + return ret; } return boost::shared_ptr<Source>(); |