mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
* Added tooltip to the flag in the player avatar.
This commit is contained in:
parent
efb5e06e57
commit
8dca887fad
1 changed files with 1 additions and 0 deletions
|
@ -240,6 +240,7 @@ public class PlayerPanelExt extends javax.swing.JPanel {
|
||||||
if (!player.getUserData().getFlagName().equals(flagName)) {
|
if (!player.getUserData().getFlagName().equals(flagName)) {
|
||||||
flagName = player.getUserData().getFlagName();
|
flagName = player.getUserData().getFlagName();
|
||||||
this.avatarFlag.setIcon(CountryUtil.getCountryFlagIcon(flagName));
|
this.avatarFlag.setIcon(CountryUtil.getCountryFlagIcon(flagName));
|
||||||
|
this.avatarFlag.setToolTipText(CountryUtil.getCountryName(flagName));
|
||||||
avatar.repaint();
|
avatar.repaint();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue