From 2cca75b6c7d7bb8acdbcc295133ccacbb7be95d7 Mon Sep 17 00:00:00 2001 From: Agetian Date: Sat, 15 Dec 2012 14:50:37 +0000 Subject: [PATCH] - Sideboarding: the drafting window will no longer show an option to switch between the main and the sideboard (only the drafted deck editor will). --- .../gui/deckeditor/controllers/CEditorDraftingProcess.java | 2 ++ .../java/forge/gui/deckeditor/controllers/CEditorLimited.java | 1 + 2 files changed, 3 insertions(+) diff --git a/src/main/java/forge/gui/deckeditor/controllers/CEditorDraftingProcess.java b/src/main/java/forge/gui/deckeditor/controllers/CEditorDraftingProcess.java index e40c7c7a32e..d070746026b 100644 --- a/src/main/java/forge/gui/deckeditor/controllers/CEditorDraftingProcess.java +++ b/src/main/java/forge/gui/deckeditor/controllers/CEditorDraftingProcess.java @@ -274,6 +274,8 @@ public class CEditorDraftingProcess extends ACEditorBase //Remove buttons VCardCatalog.SINGLETON_INSTANCE.getBtnAdd4().setVisible(false); + VCurrentDeck.SINGLETON_INSTANCE.getBtnDoSideboard().setVisible(false); + VCurrentDeck.SINGLETON_INSTANCE.getPnlHeader().setVisible(false); if (VDeckgen.SINGLETON_INSTANCE.getParentCell() != null) { diff --git a/src/main/java/forge/gui/deckeditor/controllers/CEditorLimited.java b/src/main/java/forge/gui/deckeditor/controllers/CEditorLimited.java index f0fcd9fbfb9..e988325392a 100644 --- a/src/main/java/forge/gui/deckeditor/controllers/CEditorLimited.java +++ b/src/main/java/forge/gui/deckeditor/controllers/CEditorLimited.java @@ -156,6 +156,7 @@ public final class CEditorLimited extends ACEditorBase { SEditorUtil.resetUI(); + VCurrentDeck.SINGLETON_INSTANCE.getBtnDoSideboard().setVisible(true); VCurrentDeck.SINGLETON_INSTANCE.getBtnPrintProxies().setVisible(false); VCurrentDeck.SINGLETON_INSTANCE.getBtnSave().setVisible(true); ((FLabel) VCurrentDeck.SINGLETON_INSTANCE.getBtnSave())