Fix NPE after finishing a round.

This commit is contained in:
rkfg 2016-02-26 21:05:43 +03:00
parent b9dc5036ef
commit 9842199d6f

View file

@ -169,8 +169,6 @@ public class DeckEditorPanel extends javax.swing.JPanel {
if (deck != null) { if (deck != null) {
this.cardSelector.loadSideboard(new ArrayList<>(deck.getSideboard()), this.bigCard); this.cardSelector.loadSideboard(new ArrayList<>(deck.getSideboard()), this.bigCard);
} }
// TODO: take from preferences
this.cardSelector.switchToGrid();
this.btnExit.setVisible(false); this.btnExit.setVisible(false);
this.btnImport.setVisible(false); this.btnImport.setVisible(false);