summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-05-25 15:32:03 +0000
committerritsuka <[email protected]>2015-05-25 15:32:03 +0000
commit4e77fa1d8da18ec07928fb35dd5f685ac04787b6 (patch)
tree4a9c76f44542f4cdfc191af9716312b19cadfbe3
parenta4a4b78e3106d8cda749dd192bc3cd27f68751ea (diff)
MacGui: fix a crash that happens when selecting a new default preset.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/0.10.x@7222 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--macosx/HBPresetsManager.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/HBPresetsManager.m b/macosx/HBPresetsManager.m
index 195c1ea8f..feb898bae 100644
--- a/macosx/HBPresetsManager.m
+++ b/macosx/HBPresetsManager.m
@@ -322,6 +322,7 @@ NSString *HBPresetsChangedNotification = @"HBPresetsChangedNotification";
if ([obj isDefault]) {
defaultAlreadySetted = YES;
+ self.defaultPreset = obj;
}
}];