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")
|
@KeyBound("Toggle")
|
||||||
public void toggle() {
|
public void toggle() {
|
||||||
enabled = !enabled;
|
enabled = !enabled;
|
||||||
updateEnabled();
|
|
||||||
handle.poll("Enabled");
|
handle.poll("Enabled");
|
||||||
|
updateEnabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean setWithString(String setting, String value) {
|
public boolean setWithString(String setting, String value) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue