Skip to content

Commit

Permalink
Fix showing multiple icons for one menu entry - fixes #4384 (#4392)
Browse files Browse the repository at this point in the history
* Fix showing multiple icons for one menu entry - fixes #4384
It currently only applies to the Rank menu; the sub-entries were only showing the first star instead of 5 stars

* Fix showing multiple icons for one menu entry - fixes #4384
Removed changelog entry
  • Loading branch information
topalavlad authored and tobiasdiez committed Oct 20, 2018
1 parent f43a367 commit e76a287
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()));

Expand Down

0 comments on commit e76a287

Please sign in to comment.