Revision: 3814
Author: [email protected]
Date: Fri Jul 30 08:09:15 2010
Log: If the tree node is not selected and is not a SQLObject the foreground should always be the unseleted colour or else the text will be in white on a white background on a mac.
http://code.google.com/p/power-architect/source/detail?r=3814

Modified:
/trunk/src/main/java/ca/sqlpower/architect/swingui/dbtree/DBTreeCellRenderer.java

=======================================
--- /trunk/src/main/java/ca/sqlpower/architect/swingui/dbtree/DBTreeCellRenderer.java Fri Jul 30 07:49:27 2010 +++ /trunk/src/main/java/ca/sqlpower/architect/swingui/dbtree/DBTreeCellRenderer.java Fri Jul 30 08:09:15 2010
@@ -202,6 +202,8 @@
                 } else {
                     setForeground(Color.LIGHT_GRAY);
                 }
+            } else {
+                setForeground(getTextNonSelectionColor());
             }
         }

Reply via email to