From: ritsuka Date: Mon, 22 Dec 2014 17:06:53 +0000 (+0000) Subject: MacGui: save the preset description, it had been broken after the add preset window... X-Git-Tag: 1.0.0~1660 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5577a07468a7e1e6f158f19aca89d103ba6642a;p=handbrake MacGui: save the preset description, it had been broken after the add preset window refactoring. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6640 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- 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);