fix setting Enabled using commands
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m10s
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m10s
This commit is contained in:
parent
b7a4dc207d
commit
3a33dbf4cc
1 changed files with 4 additions and 0 deletions
|
@ -270,6 +270,10 @@ public abstract class Feature extends ToggleButton implements SetCommand {
|
|||
}
|
||||
|
||||
public boolean setWithString(String setting, String value) {
|
||||
if(setting.equals("Enabled") && !value.equalsIgnoreCase(String.valueOf(enabled))) {
|
||||
toggle();
|
||||
return true;
|
||||
}
|
||||
return handle.setWithString(setting, value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue