summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreset.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBPreset.m')
-rw-r--r--macosx/HBPreset.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/macosx/HBPreset.m b/macosx/HBPreset.m
index 4fcb82495..12c9017f0 100644
--- a/macosx/HBPreset.m
+++ b/macosx/HBPreset.m
@@ -29,7 +29,10 @@
_name = [title copy];
_isBuiltIn = builtIn;
_content = [content copy];
- _presetDescription = [content[@"PresetDescription"] copy];
+ if ([content[@"PresetDescription"] isKindOfClass:[NSString class]])
+ {
+ _presetDescription = [content[@"PresetDescription"] copy];
+ }
}
return self;
}