diff options
author | nick_m <mainsbridge@gmail.com> | 2014-08-14 03:19:40 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2014-08-14 03:19:40 +1000 |
commit | 7099f0ec4e1fe3909cc829dae72897d7ee836326 (patch) | |
tree | 4b3fac581cb44d828010f6f7b06274de5aa6b8eb /libs/ardour/export_profile_manager.cc | |
parent | 34bf7457c67a60606b1304c1ff76082f7fec37c9 (diff) |
Add backwards compatibility for instant.xml changes.
Diffstat (limited to 'libs/ardour/export_profile_manager.cc')
-rw-r--r-- | libs/ardour/export_profile_manager.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/export_profile_manager.cc b/libs/ardour/export_profile_manager.cc index b9bc168864..c2d6cb087a 100644 --- a/libs/ardour/export_profile_manager.cc +++ b/libs/ardour/export_profile_manager.cc @@ -123,6 +123,11 @@ void ExportProfileManager::load_profile () { XMLNode * extra_node = session.extra_xml (xml_node_name); + /* Legacy sessions used Session instant.xml for this */ + if (!extra_node) { + extra_node = session.instant_xml (xml_node_name); + } + if (extra_node) { set_state (*extra_node); } else { |