Reload symbols after closing the symbols download window (better UX).

This commit is contained in:
rkfg 2016-02-29 20:08:52 +03:00
parent f00a588e24
commit f7314307a6

View file

@ -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());