poll before updateEnabled
This commit is contained in:
parent
602d17bd8c
commit
fad5d9ceea
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue