Revision: 24136
          http://sourceforge.net/p/bibdesk/svn/24136
Author:   hofman
Date:     2019-08-15 21:57:00 +0000 (Thu, 15 Aug 2019)
Log Message:
-----------
set cell enabled instead of text color, which will be implied

Modified Paths:
--------------
    trunk/bibdesk/BDSKTypeInfoEditor.m

Modified: trunk/bibdesk/BDSKTypeInfoEditor.m
===================================================================
--- trunk/bibdesk/BDSKTypeInfoEditor.m  2019-08-15 21:01:32 UTC (rev 24135)
+++ trunk/bibdesk/BDSKTypeInfoEditor.m  2019-08-15 21:57:00 UTC (rev 24136)
@@ -524,11 +524,7 @@
 // @@ Dark mode
 
 - (void)tableView:(NSTableView *)tv willDisplayCell:(id)cell 
forTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row {
-       if ([self canEditTableView:tv row:row]) {
-               [cell setTextColor:[NSColor controlTextColor]]; // when 
selected, this is automatically changed to white
-       } else {
-               [cell setTextColor:[NSColor disabledControlTextColor]]; // 
disabled
-       }
+    [cell setEnabled:[self canEditTableView:tv row:row]];
 }
 
 #pragma mark Paste/Duplicate support

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to