From 13e400503d67caab73615f84639d793d5314fd44 Mon Sep 17 00:00:00 2001 From: weisj Date: Thu, 26 Mar 2020 16:44:44 +0100 Subject: [PATCH] Fixed table cell editor having the selected background. Fixes #121 --- .../com/github/weisj/darklaf/ui/table/DarkTableCellEditor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/table/DarkTableCellEditor.java b/core/src/main/java/com/github/weisj/darklaf/ui/table/DarkTableCellEditor.java index 474b5a0b..c9ef5207 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/table/DarkTableCellEditor.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/table/DarkTableCellEditor.java @@ -229,7 +229,7 @@ public class DarkTableCellEditor extends DefaultCellEditor { setupEditorComponent(value, rendererComp); comp = applyRendererIcon(comp, rendererComp); - CellUtil.setupBackground(comp, table, isSelected, row, DarkTableUI.KEY_ALTERNATE_ROW_COLOR, + CellUtil.setupBackground(comp, table, false, row, DarkTableUI.KEY_ALTERNATE_ROW_COLOR, "Table.alternateRowBackground"); return comp; }