From 05ba67a9c9ac3d8ba12f892bdec4a0f2074bd0c1 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 6 Oct 2014 14:34:26 +0200 Subject: [PATCH] Added player life to tooltip of small player name label (if no avatar images is shown). So life can be shown (at least with tooltip) if the top card of library is turned face up. --- 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 dd527b9c54..0c24fb445e 100644 --- a/Mage.Client/src/main/java/mage/client/game/PlayerPanelExt.java +++ b/Mage.Client/src/main/java/mage/client/game/PlayerPanelExt.java @@ -251,6 +251,7 @@ public class PlayerPanelExt extends javax.swing.JPanel { } this.btnPlayer.setText(player.getName()); + this.btnPlayer.setToolTipText("Life: " + player.getLife()); if (player.isActive()) { this.avatar.setBorder(greenBorder); this.btnPlayer.setBorder(greenBorder);