aboutsummaryrefslogtreecommitdiffstats
path: root/TableSource.m
diff options
context:
space:
mode:
authormltownsend <mltownsend@gmail.com>2008-11-21 01:12:59 +0000
committermltownsend <mltownsend@gmail.com>2008-11-21 01:12:59 +0000
commit1f3824ec2bc2465d9fe20c30f93db9ec5281151b (patch)
tree13f771c9e9b0f026097d8038e794c16db8d97cbf /TableSource.m
parenta1fe720cf5d7b6a04e7fa2b096721bad8a9e4532 (diff)
downloadsequelpro-1f3824ec2bc2465d9fe20c30f93db9ec5281151b.tar.gz
sequelpro-1f3824ec2bc2465d9fe20c30f93db9ec5281151b.tar.bz2
sequelpro-1f3824ec2bc2465d9fe20c30f93db9ec5281151b.zip
Issue 34 Fix. Plus fixes for some warnings.
Diffstat (limited to 'TableSource.m')
-rw-r--r--TableSource.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/TableSource.m b/TableSource.m
index 0d9e2bf4..caeb91fc 100644
--- a/TableSource.m
+++ b/TableSource.m
@@ -495,11 +495,19 @@ sets the connection (received from TableDocument) and makes things that have to
if ( [prefs boolForKey:@"useMonospacedFonts"] ) {
[[indexColumn dataCell] setFont:[NSFont fontWithName:@"Monaco" size:10]];
}
+ else
+ {
+ [[indexColumn dataCell] setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]];
+ }
}
while ( (fieldColumn = [fieldColumnsEnumerator nextObject]) ) {
if ( [prefs boolForKey:@"useMonospacedFonts"] ) {
[[fieldColumn dataCell] setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]];
}
+ else
+ {
+ [[fieldColumn dataCell] setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]];
+ }
}
}