mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Merge pull request #1328 from nigelzor/missing-image-redraw
Deck Editor: Fix redraw after missing image
This commit is contained in:
commit
6a5ba89c03
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