aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTextView.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-08-17 19:39:14 +0000
committerBibiko <bibiko@eva.mpg.de>2010-08-17 19:39:14 +0000
commitcb3f168082f921bdfd65eecec7d21eaf4e8bd79e (patch)
tree82e44241baf24f06a7b8fb4f157973828b9cf189 /Source/SPTextView.m
parent86c687edf1b91e18b55389200ea363ebd1f29058 (diff)
downloadsequelpro-cb3f168082f921bdfd65eecec7d21eaf4e8bd79e.tar.gz
sequelpro-cb3f168082f921bdfd65eecec7d21eaf4e8bd79e.tar.bz2
sequelpro-cb3f168082f921bdfd65eecec7d21eaf4e8bd79e.zip
• Editor color setting in Pref pane displays the color names using the Editor's font
- added some logic for closing the NSColorPanel - some GUI tweaks
Diffstat (limited to 'Source/SPTextView.m')
-rw-r--r--Source/SPTextView.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPTextView.m b/Source/SPTextView.m
index a4ed1adc..a045a4ad 100644
--- a/Source/SPTextView.m
+++ b/Source/SPTextView.m
@@ -3317,6 +3317,12 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
NSLog(@"%@ ‘%@’.", NSLocalizedString(@"Couldn't read the file content of", @"Couldn't read the file content of"), aPath);
}
+// Do nothing if NSColorPanel was opened from the NSTextView
+- (void)changeColor:(id)sender
+{
+ return;
+}
+
- (void)changeFont:(id)sender
{
if (prefs && [self font] != nil) {