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:
LevelX2 2015-06-04 19:37:54 +02:00
parent 1456e0172c
commit 3b9cb1dc6e
4 changed files with 161 additions and 95 deletions

View file

@ -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