* Game Panel - Fixed that an open tooltip window and enlarged image view at end of game was not automatically closed.

This commit is contained in:
LevelX2 2014-03-16 01:43:10 +01:00
parent ca4ebe230a
commit 694e1f2bf2

View file

@ -250,7 +250,7 @@ public final class GamePanel extends javax.swing.JPanel {
pickTargetDialog.cleanUp();
pickTargetDialog.removeDialog();
}
Plugins.getInstance().getActionCallback().hidePopup();
try {
Component popupContainer = MageFrame.getUI().getComponent(MageComponents.POPUP_CONTAINER);
popupContainer.setVisible(false);