Merge pull request #1328 from nigelzor/missing-image-redraw

Deck Editor: Fix redraw after missing image
This commit is contained in:
LevelX2 2015-10-19 12:22:34 +02:00
commit 6a5ba89c03

View file

@ -161,6 +161,7 @@ public class BigCard extends JComponent {
}
public void addJXPanel(UUID cardId, JXPanel jxPanel) {
this.cardId = cardId;
bigImage = null;
synchronized (this) {
if (this.panel != null) { remove(this.panel); }