diff options
Diffstat (limited to 'libs/ardour/export_profile_manager.cc')
-rw-r--r-- | libs/ardour/export_profile_manager.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/export_profile_manager.cc b/libs/ardour/export_profile_manager.cc index bc4b31e324..42e494c0cb 100644 --- a/libs/ardour/export_profile_manager.cc +++ b/libs/ardour/export_profile_manager.cc @@ -437,6 +437,10 @@ ExportProfileManager::deserialize_timespan (XMLNode & root) state->time_format = (TimeFormat) string_2_enum (prop->value(), TimeFormat); } + if (state->timespans->empty()) { + return TimespanStatePtr(); + } + return state; } |