From 764b3aea299badeedfbf2bd9e217168b7fb85e0b Mon Sep 17 00:00:00 2001 From: Max Lohrmann Date: Sat, 20 May 2017 00:48:41 +0200 Subject: =?UTF-8?q?Minor=20fix:=20When=20=E2=80=9EDisplay=20as=20Hex?= =?UTF-8?q?=E2=80=9C=20was=20enabled,=20=E2=80=9ENULL=E2=80=9C=20was=20hig?= =?UTF-8?q?hlighted=20in=20blue=20instead=20of=20gray?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPTableContentDelegate.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source') 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 -- cgit v1.2.3