aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Lohrmann <dmoagx@users.noreply.github.com>2017-05-20 00:48:41 +0200
committerMax Lohrmann <dmoagx@users.noreply.github.com>2017-05-20 00:48:41 +0200
commit764b3aea299badeedfbf2bd9e217168b7fb85e0b (patch)
treeec9f14e667b93c314e55253be1ab7531a8527438
parent4a8042a473e5fc02862007f629a737d62ac23365 (diff)
downloadsequelpro-764b3aea299badeedfbf2bd9e217168b7fb85e0b.tar.gz
sequelpro-764b3aea299badeedfbf2bd9e217168b7fb85e0b.tar.bz2
sequelpro-764b3aea299badeedfbf2bd9e217168b7fb85e0b.zip
Minor fix: When „Display as Hex“ was enabled, „NULL“ was highlighted in blue instead of gray
-rw-r--r--Source/SPTableContentDelegate.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPTableContentDelegate.m b/Source/SPTableContentDelegate.m
index 3353a347..e188c4de 100644
--- a/Source/SPTableContentDelegate.m
+++ b/Source/SPTableContentDelegate.m
@@ -511,10 +511,10 @@
}
else {
[cell setTextColor:blackColor];
- }
-
- if ([self cellValueIsDisplayedAsHexForColumn:[[tableColumn identifier] integerValue]]) {
- [cell setTextColor:rowIndex == [tableContentView selectedRow] ? whiteColor : blueColor];
+
+ if ([self cellValueIsDisplayedAsHexForColumn:[[tableColumn identifier] integerValue]]) {
+ [cell setTextColor:rowIndex == [tableContentView selectedRow] ? whiteColor : blueColor];
+ }
}
// Disable link arrows for the currently editing row and for any NULL or unloaded cells