diff options
author | Max <post@wickenrode.com> | 2014-12-31 03:00:10 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2014-12-31 03:00:10 +0100 |
commit | f12b95bb7b3dda011dea4bb3e0edff1428a38209 (patch) | |
tree | 3d180f6e40b6854151c0df9e76301baad0ff0332 /Source/SPEditorPreferencePane.m | |
parent | 2d8fd9c8eff0afca2cab9b8bbb791a0cdf1c583a (diff) | |
download | sequelpro-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.m | 8 |
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 |