diff --git a/src/main/java/org/jabref/gui/icon/InternalMaterialDesignIcon.java b/src/main/java/org/jabref/gui/icon/InternalMaterialDesignIcon.java index 6eb64b8fc4a..84a02938c6e 100644 --- a/src/main/java/org/jabref/gui/icon/InternalMaterialDesignIcon.java +++ b/src/main/java/org/jabref/gui/icon/InternalMaterialDesignIcon.java @@ -57,7 +57,7 @@ public Icon getSmallIcon() { public Node getGraphicNode() { GlyphIcons icon = icons.get(0); - Text text = new Text(icon.unicode()); + Text text = new Text(unicode); text.getStyleClass().add("glyph-icon"); text.setStyle(String.format("-fx-font-family: %s;", icon.fontFamily()));