fix(radio): ensure customisable switch set as Toggle starts in OFF state (#5343)
This commit is contained in:
@@ -69,6 +69,7 @@ class FunctionSwitch : public Window
|
||||
FSWITCH_SET_CONFIG(switchIndex, val);
|
||||
if (val == SWITCH_TOGGLE) {
|
||||
FSWITCH_SET_STARTUP(switchIndex, FS_START_PREVIOUS);
|
||||
setFSLogicalState(switchIndex, 0);
|
||||
startChoice->setValue(startChoice->getIntValue());
|
||||
}
|
||||
SET_DIRTY();
|
||||
|
||||
Reference in New Issue
Block a user