projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix displaying of notes in auto-created MIDI region when it's the first region in...
[ardour.git]
/
libs
/
ardour
/
source_factory.cc
diff --git
a/libs/ardour/source_factory.cc
b/libs/ardour/source_factory.cc
index d07b9d6d690a96b1aa6c7910447326d9811f9d4c..3a657bc0e2fdf1b2eb23fcbf4b52c3c3928b756a 100644
(file)
--- 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>();