mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Reload symbols after closing the symbols download window (better UX).
This commit is contained in:
parent
f00a588e24
commit
f7314307a6
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue