Deck Editor: Fix redraw after missing image

This commit is contained in:
Neil Gentleman 2015-10-18 21:42:38 -07:00
parent fef34b65f6
commit 6c43858046

View file

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