diff options
author | ritsuka <[email protected]> | 2014-12-22 17:06:53 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-12-22 17:06:53 +0000 |
commit | a5577a07468a7e1e6f158f19aca89d103ba6642a (patch) | |
tree | 3ed1926a4acbfc9ecbdc473c862ea019a3656bc4 /macosx/HBAddPresetController.m | |
parent | 2d228b23a0c3df78837f1ee4482351420faa5122 (diff) |
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
Diffstat (limited to 'macosx/HBAddPresetController.m')
-rw-r--r-- | macosx/HBAddPresetController.m | 5 |
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); |