Skip to content

Commit

Permalink
do not gray out item when symbol is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkelDok authored and buchen committed Sep 25, 2023
1 parent 5e6b9e2 commit b8f222b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public Color getForeground(Object element, int columnIndex)
{
ResultItem item = (ResultItem) element;

if (item.getSymbol() != null && symbols.contains(item.getSymbol()))
if (item.getSymbol() != null && !item.getSymbol().isEmpty() && symbols.contains(item.getSymbol()))
return Display.getCurrent().getSystemColor(SWT.COLOR_GRAY);
else
return null;
Expand Down

0 comments on commit b8f222b

Please sign in to comment.