mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fixed the main deck title label initially not showing the number of cards when Sideboarding.
This commit is contained in:
@@ -161,7 +161,6 @@ public class GuiChoose {
|
|||||||
// An input box for handling the order of choices.
|
// An input box for handling the order of choices.
|
||||||
final JFrame frame = new JFrame();
|
final JFrame frame = new JFrame();
|
||||||
DualListBox<T> dual = new DualListBox<T>(remainingObjects, sourceChoices, destChoices);
|
DualListBox<T> dual = new DualListBox<T>(remainingObjects, sourceChoices, destChoices);
|
||||||
dual.setSideboardMode(sideboardingMode);
|
|
||||||
dual.setSecondColumnLabelText(top);
|
dual.setSecondColumnLabelText(top);
|
||||||
|
|
||||||
frame.setLayout(new BorderLayout());
|
frame.setLayout(new BorderLayout());
|
||||||
@@ -170,6 +169,8 @@ public class GuiChoose {
|
|||||||
frame.setTitle(title);
|
frame.setTitle(title);
|
||||||
frame.setVisible(false);
|
frame.setVisible(false);
|
||||||
|
|
||||||
|
dual.setSideboardMode(sideboardingMode);
|
||||||
|
|
||||||
final JDialog dialog = new JDialog(frame, true);
|
final JDialog dialog = new JDialog(frame, true);
|
||||||
dialog.setTitle(title);
|
dialog.setTitle(title);
|
||||||
dialog.setContentPane(dual);
|
dialog.setContentPane(dual);
|
||||||
|
|||||||
Reference in New Issue
Block a user