summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.m
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-03-04 15:49:16 +0000
committerRodeo <[email protected]>2013-03-04 15:49:16 +0000
commit99fd7e4c1828a837203a9f351ab2df9e30f27216 (patch)
tree7f2dd049fe0822cbabd65659f90f92c205ee318b /macosx/Controller.m
parent9d9525ab20a8d0205168ab757084233f4b0937d1 (diff)
MacGui: only show the global default preset in bold.
Previously, if there were 2 default presets (HB and user), both names would be displayed in bold. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5305 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.m')
-rw-r--r--macosx/Controller.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index ffe42319c..b1faa7d08 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -6104,12 +6104,12 @@ return YES;
}
- /* We use Bold Text for the HB Default */
- if ([[item objectForKey:@"Default"] intValue] == 1)// 1 is HB default
+ /* We use bold text for the default preset */
+ if (presetUserDefault == nil && // no User default found
+ [[item objectForKey:@"Default"] intValue] == 1)// 1 is HB default
{
txtFont = [NSFont boldSystemFontOfSize: [NSFont smallSystemFontSize]];
}
- /* We use Bold Text for the User Specified Default */
if ([[item objectForKey:@"Default"] intValue] == 2)// 2 is User default
{
txtFont = [NSFont boldSystemFontOfSize: [NSFont smallSystemFontSize]];