missing local export config is not an error
This commit is contained in:
parent
925501c851
commit
80cc70966c
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user