summaryrefslogtreecommitdiffstats
path: root/macosx/HBPresetsManager.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-07-07 11:32:23 +0000
committerritsuka <[email protected]>2015-07-07 11:32:23 +0000
commite263c692c246c0cfd83b198a88dbf665634ef743 (patch)
tree47d665de0c7d8b3aaeeb2ee1301009f04f81f85d /macosx/HBPresetsManager.m
parente32a4681e63cfb7842488842047da1b8f14c72c5 (diff)
MacGui: fix the multiple default presets issue.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7348 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPresetsManager.m')
-rw-r--r--macosx/HBPresetsManager.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/HBPresetsManager.m b/macosx/HBPresetsManager.m
index 121473638..b17294b27 100644
--- a/macosx/HBPresetsManager.m
+++ b/macosx/HBPresetsManager.m
@@ -214,7 +214,6 @@ NSString *HBPresetsChangedNotification = @"HBPresetsChangedNotification";
else if ([obj isLeaf] && firstUserPreset == nil)
{
firstUserPreset = obj;
- *stop = YES;
}
if ([obj isDefault])
@@ -222,10 +221,13 @@ NSString *HBPresetsChangedNotification = @"HBPresetsChangedNotification";
self.defaultPreset = obj;
defaultAlreadySetted = YES;
}
+
+ [obj setIsDefault:NO];
}];
if (defaultAlreadySetted)
{
+ self.defaultPreset.isDefault = YES;
return;
}
else if (normalPreset)