aboutsummaryrefslogtreecommitdiff
path: root/common/src/main/java/dev/isxander
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/main/java/dev/isxander')
-rw-r--r--common/src/main/java/dev/isxander/yacl3/gui/YACLScreen.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/src/main/java/dev/isxander/yacl3/gui/YACLScreen.java b/common/src/main/java/dev/isxander/yacl3/gui/YACLScreen.java
index d4de9c4..fbb2fd0 100644
--- a/common/src/main/java/dev/isxander/yacl3/gui/YACLScreen.java
+++ b/common/src/main/java/dev/isxander/yacl3/gui/YACLScreen.java
@@ -111,6 +111,11 @@ public class YACLScreen extends Screen {
config.saveFunction().run();
flags.forEach(flag -> flag.accept(minecraft));
+
+ pendingChanges = false;
+ if (tabManager.getCurrentTab() instanceof CategoryTab categoryTab) {
+ categoryTab.updateButtons();
+ }
} else onClose();
}