summaryrefslogtreecommitdiffstats
path: root/macosx/HBAddPresetController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBAddPresetController.m')
-rw-r--r--macosx/HBAddPresetController.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/macosx/HBAddPresetController.m b/macosx/HBAddPresetController.m
index c33610496..a53482c0c 100644
--- a/macosx/HBAddPresetController.m
+++ b/macosx/HBAddPresetController.m
@@ -108,10 +108,13 @@
else
{
self.preset.name = self.name.stringValue;
- self.preset.presetDescription = self.name.stringValue;
+ self.preset.presetDescription = self.desc.stringValue;
NSMutableDictionary *dict = [[self.preset.content mutableCopy] autorelease];
+ dict[@"PresetName"] = self.name.stringValue;
+ dict[@"PresetDescription"] = self.desc.stringValue;
+
// Get the picture size
dict[@"PictureWidth"] = @(self.picWidth.integerValue);
dict[@"PictureHeight"] = @(self.picHeight.integerValue);