mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
GUI: fixed that deck validate from deck editor available in draft/sideboarding mode (#6854);
This commit is contained in:
parent
24aacaafe8
commit
857d888b76
1 changed files with 2 additions and 0 deletions
|
@ -182,6 +182,7 @@ public class DeckEditorPanel extends javax.swing.JPanel {
|
||||||
case LIMITED_BUILDING:
|
case LIMITED_BUILDING:
|
||||||
this.btnAddLand.setVisible(true);
|
this.btnAddLand.setVisible(true);
|
||||||
this.txtTimeRemaining.setVisible(true);
|
this.txtTimeRemaining.setVisible(true);
|
||||||
|
this.btnLegality.setVisible(false); // legality check available only in free building mode
|
||||||
// Fall through to sideboarding (no break)
|
// Fall through to sideboarding (no break)
|
||||||
case SIDEBOARDING:
|
case SIDEBOARDING:
|
||||||
this.btnSubmit.setVisible(true);
|
this.btnSubmit.setVisible(true);
|
||||||
|
@ -215,6 +216,7 @@ public class DeckEditorPanel extends javax.swing.JPanel {
|
||||||
this.btnSubmit.setVisible(false);
|
this.btnSubmit.setVisible(false);
|
||||||
this.btnSubmitTimer.setVisible(false);
|
this.btnSubmitTimer.setVisible(false);
|
||||||
this.btnAddLand.setVisible(true);
|
this.btnAddLand.setVisible(true);
|
||||||
|
this.btnLegality.setVisible(true);
|
||||||
this.cardSelector.setVisible(true);
|
this.cardSelector.setVisible(true);
|
||||||
this.cardSelector.loadCards(this.bigCard);
|
this.cardSelector.loadCards(this.bigCard);
|
||||||
//this.cardTableSelector.loadCards(this.bigCard);
|
//this.cardTableSelector.loadCards(this.bigCard);
|
||||||
|
|
Loading…
Reference in a new issue