aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportSettingsPersistence.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPExportSettingsPersistence.m')
-rw-r--r--Source/SPExportSettingsPersistence.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/SPExportSettingsPersistence.m b/Source/SPExportSettingsPersistence.m
index 38a4ed84..29a981af 100644
--- a/Source/SPExportSettingsPersistence.m
+++ b/Source/SPExportSettingsPersistence.m
@@ -46,7 +46,6 @@ static inline void SetOnOff(NSNumber *ref,id obj);
@interface SPExportController (Private)
- (void)_updateExportAdvancedOptionsLabel;
-- (void)_switchTab;
@end
@@ -463,7 +462,7 @@ static inline void SetOnOff(NSNumber *ref,id obj);
// token pool is only valid once the schema object selection is done
[self updateAvailableExportFilenameTokens];
- if((o = [dict objectForKey:@"customFilename"])) [self setCustomFilenameFromArray:o];
+ if((o = [dict objectForKey:@"customFilename"]) && [o isKindOfClass:[NSArray class]]) [self setCustomFilenameFromArray:o];
return YES;
}