From fad5d9ceeaeabe45625bf479d7b78aab3b85ffe1 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sun, 2 Jun 2024 02:08:35 +0200 Subject: [PATCH] poll before updateEnabled --- Client/src/main/java/com/baseband/client/feature/Feature.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/src/main/java/com/baseband/client/feature/Feature.java b/Client/src/main/java/com/baseband/client/feature/Feature.java index 02c2ffd..a2816e5 100644 --- a/Client/src/main/java/com/baseband/client/feature/Feature.java +++ b/Client/src/main/java/com/baseband/client/feature/Feature.java @@ -267,8 +267,8 @@ public abstract class Feature extends ToggleButton implements SetCommand { @KeyBound("Toggle") public void toggle() { enabled = !enabled; - updateEnabled(); handle.poll("Enabled"); + updateEnabled(); } public boolean setWithString(String setting, String value) {