From e7cc5f901e7d2b30c0a7b21d8839f4be7bfea229 Mon Sep 17 00:00:00 2001 From: tom-overton Date: Tue, 14 Dec 2021 01:04:07 -0800 Subject: GUI: When resetting to initial state, clear out gen restrictions --- src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/com/dabomstew/pkrandom/newgui') diff --git a/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java b/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java index b740d81..e109105 100644 --- a/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java +++ b/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java @@ -1851,6 +1851,8 @@ public class NewRandomizerGUI { raceModeCheckBox.setEnabled(false); raceModeCheckBox.setSelected(false); + currentRestrictions = null; + openROMButton.setVisible(true); openROMButton.setEnabled(true); openROMButton.setSelected(false); -- cgit v1.2.3