From 1c08c4eca96db603e0fb2a88e541d349363cb487 Mon Sep 17 00:00:00 2001 From: Abhishek Banthia Date: Fri, 20 May 2016 13:08:50 -0400 Subject: [PATCH] Fixed small bug. --- Clocker/Appearance Tab/CLAppearanceViewController.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Clocker/Appearance Tab/CLAppearanceViewController.m b/Clocker/Appearance Tab/CLAppearanceViewController.m index 5c287f7..c3c0a6c 100644 --- a/Clocker/Appearance Tab/CLAppearanceViewController.m +++ b/Clocker/Appearance Tab/CLAppearanceViewController.m @@ -57,9 +57,9 @@ { if ([view isKindOfClass:[NSTextField class]]) { - NSTextField *lbl = (NSTextField *)view; + NSTextField *labels = (NSTextField *)view; - [lbl setFont:[NSFont fontWithName:fontFamily size:[[lbl font] pointSize]]]; + [labels setFont:[NSFont fontWithName:fontFamily size:[[labels font] pointSize]]]; } if (isSubViews) @@ -120,6 +120,7 @@ { sharedDelege.floatingWindow = [CLFloatingWindowController sharedFloatingWindow]; [sharedDelege.floatingWindow showWindow:nil]; + [sharedDelege.floatingWindow updateDefaultPreferences]; [sharedDelege.floatingWindow.mainTableview reloadData]; [sharedDelege.floatingWindow startWindowTimer]; [NSApp activateIgnoringOtherApps:YES];