Browse Source

clear styleclass of icon view when content of ResultSeverityCell changes.

Armin Schrenk 4 năm trước cách đây
mục cha
commit
ca0402aaf0

+ 1 - 0
main/ui/src/main/java/org/cryptomator/ui/health/ResultSeverityTableCell.java

@@ -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);