diff --git a/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/themes/ColorsAndFontsPreferencePage.java b/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/themes/ColorsAndFontsPreferencePage.java index dbc41e8bfd1..c688fcebda7 100644 --- a/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/themes/ColorsAndFontsPreferencePage.java +++ b/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/themes/ColorsAndFontsPreferencePage.java @@ -444,7 +444,7 @@ public Image getImage(Object element) { ImageGcDrawer imageGcDrawer = (gc, imageWidth, imageHeight) -> { gc.setForeground(tree.getViewer().getControl().getBackground()); gc.drawRectangle(0, 0, imageWidth - 1, imageHeight - 1); - + gc.setForeground(gcForegroundColor); gc.setBackground(gcBackgroundcolor); gc.fillRectangle(2, 2, 11, 11);