aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPEditorPreferencePane.m
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2014-12-31 03:00:10 +0100
committerMax <post@wickenrode.com>2014-12-31 03:00:10 +0100
commitf12b95bb7b3dda011dea4bb3e0edff1428a38209 (patch)
tree3d180f6e40b6854151c0df9e76301baad0ff0332 /Source/SPEditorPreferencePane.m
parent2d8fd9c8eff0afca2cab9b8bbb791a0cdf1c583a (diff)
downloadsequelpro-f12b95bb7b3dda011dea4bb3e0edff1428a38209.tar.gz
sequelpro-f12b95bb7b3dda011dea4bb3e0edff1428a38209.tar.bz2
sequelpro-f12b95bb7b3dda011dea4bb3e0edff1428a38209.zip
Remove some duplicate code by adding abstraction
Diffstat (limited to 'Source/SPEditorPreferencePane.m')
-rw-r--r--Source/SPEditorPreferencePane.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/SPEditorPreferencePane.m b/Source/SPEditorPreferencePane.m
index d5127e65..08a833c2 100644
--- a/Source/SPEditorPreferencePane.m
+++ b/Source/SPEditorPreferencePane.m
@@ -732,6 +732,14 @@ static NSString *SPCustomColorSchemeNameLC = @"user-defined";
return NO;
}
+- (void)preferencePaneWillBeShown
+{
+ [self updateColorSchemeSelectionMenu];
+ [self updateDisplayColorThemeName];
+
+ [self updateDisplayedEditorFontName];
+}
+
#pragma mark -
#pragma mark Private API