From ba5df506bb5c20fd68ac19fe23799963b3069b74 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 07:15:28 +0000 Subject: [PATCH] - This prevents people from selecting the "Most recently added" menu option from the "Sort By" menu in the deck editor. I discovered that it was leading to an error exception due to the fact that the cards.txt file is now missing entries for the new cards added today. --- src/forge/Gui_DeckEditor_Menu.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/forge/Gui_DeckEditor_Menu.java b/src/forge/Gui_DeckEditor_Menu.java index c4e6a997f34..018e2a57360 100644 --- a/src/forge/Gui_DeckEditor_Menu.java +++ b/src/forge/Gui_DeckEditor_Menu.java @@ -162,7 +162,13 @@ public class Gui_DeckEditor_Menu extends JMenuBar implements NewConstants { menu.add(type); menu.add(stats); menu.add(rarity); - menu.add(newFirst); + + // menu.add(newFirst); + /* + * The "Most recently added" menu now causes an error exception. This will prevent + * this option from appearing in the "Sort By" menu. There may be a way (or not) + * to sort the indivudual card files by the date created or the date last modified. + */ this.add(menu);