forked from External/mage
Add land dialog is now also shown during free deck building. Added a set selection drop down box to select the set the lands are used from.
This commit is contained in:
parent
1456e0172c
commit
3b9cb1dc6e
4 changed files with 161 additions and 95 deletions
|
|
@ -186,6 +186,7 @@ public class DeckEditorPanel extends javax.swing.JPanel {
|
|||
break;
|
||||
case FREE_BUILDING:
|
||||
this.btnSubmit.setVisible(false);
|
||||
this.btnAddLand.setVisible(true);
|
||||
this.cardSelector.loadCards(this.bigCard);
|
||||
//this.cardTableSelector.loadCards(this.bigCard);
|
||||
this.btnExit.setVisible(true);
|
||||
|
|
@ -796,7 +797,7 @@ public class DeckEditorPanel extends javax.swing.JPanel {
|
|||
|
||||
private void btnAddLandActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAddLandActionPerformed
|
||||
AddLandDialog addLand = new AddLandDialog();
|
||||
addLand.showDialog(deck);
|
||||
addLand.showDialog(deck, mode);
|
||||
refreshDeck();
|
||||
}//GEN-LAST:event_btnAddLandActionPerformed
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue