mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +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.
|
||||
final JFrame frame = new JFrame();
|
||||
DualListBox<T> dual = new DualListBox<T>(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);
|
||||
|
||||
Reference in New Issue
Block a user