diff options
author | Robin Gareus <robin@gareus.org> | 2016-05-25 13:56:11 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-05-25 13:56:11 +0200 |
commit | 80cc70966c6e64df1cd1c6a0d6157711f15484b4 (patch) | |
tree | 155545ea236584bfbbae4d3d8ddc085afbe13fab /libs/ardour/export_profile_manager.cc | |
parent | 925501c851661d612bbc1b0f0b545c9fc8897213 (diff) |
missing local export config is not an error
Diffstat (limited to 'libs/ardour/export_profile_manager.cc')
-rw-r--r-- | libs/ardour/export_profile_manager.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/ardour/export_profile_manager.cc b/libs/ardour/export_profile_manager.cc index 717f1e305c..fd6e6de1c5 100644 --- a/libs/ardour/export_profile_manager.cc +++ b/libs/ardour/export_profile_manager.cc @@ -180,9 +180,14 @@ ExportProfileManager::load_preset (ExportPresetPtr preset) if (!preset) { return false; } XMLNode const * state; + /* local state is saved in instant.xml and contains timespan + * and channel config for per session. + * It may not be present for a given preset/session combination + * and is never preset for system-wide presets, but that's OK. + */ if ((state = preset->get_local_state())) { set_local_state (*state); - } else { ok = false; } + } if ((state = preset->get_global_state())) { if (!set_global_state (*state)) { |