summaryrefslogtreecommitdiff
path: root/src/com/dabomstew/pkrandom/newgui
diff options
context:
space:
mode:
authortom-overton <tom.overton@outlook.com>2021-12-14 01:04:07 -0800
committertom-overton <tom.overton@outlook.com>2021-12-14 01:04:07 -0800
commite7cc5f901e7d2b30c0a7b21d8839f4be7bfea229 (patch)
tree46dd32b284f1e1bc2d3347a947b27c411c2a95e7 /src/com/dabomstew/pkrandom/newgui
parent2cd725f57b180d45e1edbde7eac513e8f72ddf3d (diff)
GUI: When resetting to initial state, clear out gen restrictions
Diffstat (limited to 'src/com/dabomstew/pkrandom/newgui')
-rw-r--r--src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java2
1 files changed, 2 insertions, 0 deletions
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);