Modified OpenDeck to use the multi-line choice list instead of the drop-down.

This commit is contained in:
jendave
2011-08-06 05:50:50 +00:00
parent fe361410b5
commit 9d4eaab789

View File

@@ -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 "";