aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPEditorPreferencePane.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-06-27 09:42:27 +0000
committerstuconnolly <stuart02@gmail.com>2012-06-27 09:42:27 +0000
commit018271d3804ead3488e089898695f7f1d2cda812 (patch)
treefff8d7e86a5d5c7fab66ed15b4183adffbad2eee /Source/SPEditorPreferencePane.m
parente0be0f0668619e4fb70e23d8e25b2680f12b6a12 (diff)
downloadsequelpro-018271d3804ead3488e089898695f7f1d2cda812.tar.gz
sequelpro-018271d3804ead3488e089898695f7f1d2cda812.tar.bz2
sequelpro-018271d3804ead3488e089898695f7f1d2cda812.zip
Tidy up an use enums.
Diffstat (limited to 'Source/SPEditorPreferencePane.m')
-rw-r--r--Source/SPEditorPreferencePane.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPEditorPreferencePane.m b/Source/SPEditorPreferencePane.m
index b84e41ba..54949618 100644
--- a/Source/SPEditorPreferencePane.m
+++ b/Source/SPEditorPreferencePane.m
@@ -265,7 +265,7 @@ static NSString *SPCustomColorSchemeNameLC = @"user-defined";
*/
- (IBAction)showCustomQueryFontPanel:(id)sender
{
- [(SPPreferenceController *)[[[self view] window] delegate] setFontChangeTarget:2];
+ [(SPPreferenceController *)[[[self view] window] delegate] setFontChangeTarget:SPPrefFontChangeTargetEditor];
[[NSFontPanel sharedFontPanel] setPanelFont:[NSUnarchiver unarchiveObjectWithData:[prefs dataForKey:SPCustomQueryEditorFont]] isMultiple:NO];
[[NSFontPanel sharedFontPanel] makeKeyAndOrderFront:self];