From 8afd761a42a60df7ea3cbc52b30dfe1c26ba8082 Mon Sep 17 00:00:00 2001 From: Agetian Date: Sun, 10 Mar 2013 18:24:28 +0000 Subject: [PATCH] - Fixed the main deck title label initially not showing the number of cards when Sideboarding. --- src/main/java/forge/gui/GuiChoose.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/forge/gui/GuiChoose.java b/src/main/java/forge/gui/GuiChoose.java index cb9784894da..ad1cee846fa 100644 --- a/src/main/java/forge/gui/GuiChoose.java +++ b/src/main/java/forge/gui/GuiChoose.java @@ -161,7 +161,6 @@ public class GuiChoose { // An input box for handling the order of choices. final JFrame frame = new JFrame(); DualListBox dual = new DualListBox(remainingObjects, sourceChoices, destChoices); - dual.setSideboardMode(sideboardingMode); dual.setSecondColumnLabelText(top); frame.setLayout(new BorderLayout()); @@ -170,6 +169,8 @@ public class GuiChoose { frame.setTitle(title); frame.setVisible(false); + dual.setSideboardMode(sideboardingMode); + final JDialog dialog = new JDialog(frame, true); dialog.setTitle(title); dialog.setContentPane(dual);