mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Deck Editor: Fix redraw after missing image
This commit is contained in:
parent
fef34b65f6
commit
6c43858046
1 changed files with 1 additions and 0 deletions
|
@ -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); }
|
||||||
|
|
Loading…
Reference in a new issue