forked from External/mage
gui: deck editor - improved popup menu naming, added commander hint to sideboard, fixed generate/random deck dialog on cancel, removed outdated logs;
This commit is contained in:
parent
ec34380bed
commit
b315b46871
6 changed files with 23 additions and 18 deletions
|
|
@ -58,10 +58,11 @@ public class NewPlayerPanel extends javax.swing.JPanel {
|
|||
|
||||
protected void generateDeck() {
|
||||
String path = DeckGenerator.generateDeck();
|
||||
if (path != null) {
|
||||
this.txtPlayerDeck.setText(path);
|
||||
MageFrame.getPreferences().put("defaultDeckPath", path);
|
||||
if (path == null) {
|
||||
return;
|
||||
}
|
||||
this.txtPlayerDeck.setText(path);
|
||||
MageFrame.getPreferences().put("defaultDeckPath", path);
|
||||
}
|
||||
|
||||
public String getPlayerName() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue