From f7314307a6db9360f69f110172ce2eb36f5d653a Mon Sep 17 00:00:00 2001 From: rkfg Date: Mon, 29 Feb 2016 20:08:52 +0300 Subject: [PATCH] Reload symbols after closing the symbols download window (better UX). --- .../src/main/java/org/mage/plugins/card/CardPluginImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/CardPluginImpl.java b/Mage.Client/src/main/java/org/mage/plugins/card/CardPluginImpl.java index 7e76349d6a..0df1894a87 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/CardPluginImpl.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/CardPluginImpl.java @@ -31,6 +31,7 @@ import net.xeoh.plugins.base.annotations.meta.Author; import org.apache.log4j.Logger; import org.mage.card.arcane.Animation; import org.mage.card.arcane.CardPanel; +import org.mage.card.arcane.ManaSymbols; import org.mage.plugins.card.dl.DownloadGui; import org.mage.plugins.card.dl.DownloadJob; import org.mage.plugins.card.dl.Downloader; @@ -540,6 +541,7 @@ public class CardPluginImpl implements CardPlugin { @Override public void windowClosing(WindowEvent e) { g.getDownloader().dispose(); + ManaSymbols.loadImages(); } }); d.setLayout(new BorderLayout());