From 9d4eaab789c77ab0c08753f642f4a65df201c5b6 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 05:50:50 +0000 Subject: [PATCH] Modified OpenDeck to use the multi-line choice list instead of the drop-down. --- src/forge/Gui_Quest_DeckEditor_Menu.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/forge/Gui_Quest_DeckEditor_Menu.java b/src/forge/Gui_Quest_DeckEditor_Menu.java index 338c36c4568..2fef16fab48 100644 --- a/src/forge/Gui_Quest_DeckEditor_Menu.java +++ b/src/forge/Gui_Quest_DeckEditor_Menu.java @@ -1000,8 +1000,9 @@ public class Gui_Quest_DeckEditor_Menu extends JMenuBar { return ""; } - Object o = JOptionPane.showInputDialog(null, "Deck Name", "Open Deck", JOptionPane.OK_CANCEL_OPTION, null, - choices.toArray(), choices.toArray()[0]); + //Object o = JOptionPane.showInputDialog(null, "Deck Name", "Open Deck", JOptionPane.OK_CANCEL_OPTION, null, + // choices.toArray(), choices.toArray()[0]); + Object o = AllZone.Display.getChoiceOptional("Select Deck", choices.toArray()); if(o == null) return "";