From 8dca887fadbbea41fb649ff17c5fe547a82ef23a Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sun, 2 Aug 2015 12:41:29 +0200 Subject: [PATCH] * Added tooltip to the flag in the player avatar. --- Mage.Client/src/main/java/mage/client/game/PlayerPanelExt.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Mage.Client/src/main/java/mage/client/game/PlayerPanelExt.java b/Mage.Client/src/main/java/mage/client/game/PlayerPanelExt.java index 5b8de71db4..11a79b265b 100644 --- a/Mage.Client/src/main/java/mage/client/game/PlayerPanelExt.java +++ b/Mage.Client/src/main/java/mage/client/game/PlayerPanelExt.java @@ -240,6 +240,7 @@ public class PlayerPanelExt extends javax.swing.JPanel { if (!player.getUserData().getFlagName().equals(flagName)) { flagName = player.getUserData().getFlagName(); this.avatarFlag.setIcon(CountryUtil.getCountryFlagIcon(flagName)); + this.avatarFlag.setToolTipText(CountryUtil.getCountryName(flagName)); avatar.repaint(); } }