From a5577a07468a7e1e6f158f19aca89d103ba6642a Mon Sep 17 00:00:00 2001 From: ritsuka Date: Mon, 22 Dec 2014 17:06:53 +0000 Subject: [PATCH] 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 --- macosx/HBAddPresetController.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- 2.40.0