summaryrefslogtreecommitdiff
path: root/libs/ardour/source.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/source.cc')
-rw-r--r--libs/ardour/source.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/source.cc b/libs/ardour/source.cc
index 7ed4e584ce..fe8a8a1e0a 100644
--- a/libs/ardour/source.cc
+++ b/libs/ardour/source.cc
@@ -68,7 +68,7 @@ Source::Source (Session& s, const XMLNode& node)
_analysed = false;
_in_use = 0;
- if (set_state (node) || _type == DataType::NIL) {
+ if (set_state (node, Stateful::loading_state_version) || _type == DataType::NIL) {
throw failed_constructor();
}