clear styleclass of icon view when content of ResultSeverityCell changes.

This commit is contained in:
Armin Schrenk
2021-05-19 12:38:04 +02:00
parent c7ef0056f9
commit ca0402aaf0

View File

@@ -17,6 +17,7 @@ public class ResultSeverityTableCell extends TableCell<DiagnosticResultAction, D
@Override
protected void updateItem(DiagnosticResult.Severity item, boolean empty) {
super.updateItem(item, empty);
iconView.getStyleClass().clear();
if (empty || item == null) {
setText(null);
setGraphic(null);