mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Modified OpenDeck to use the multi-line choice list instead of the drop-down.
This commit is contained in:
@@ -1000,8 +1000,9 @@ public class Gui_Quest_DeckEditor_Menu extends JMenuBar {
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
Object o = JOptionPane.showInputDialog(null, "Deck Name", "Open Deck", JOptionPane.OK_CANCEL_OPTION, null,
|
//Object o = JOptionPane.showInputDialog(null, "Deck Name", "Open Deck", JOptionPane.OK_CANCEL_OPTION, null,
|
||||||
choices.toArray(), choices.toArray()[0]);
|
// choices.toArray(), choices.toArray()[0]);
|
||||||
|
Object o = AllZone.Display.getChoiceOptional("Select Deck", choices.toArray());
|
||||||
|
|
||||||
if(o == null) return "";
|
if(o == null) return "";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user