mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 18:13:28 +07:00
Fixed unable to uncheck options when loading presets.
This commit is contained in:
parent
da3e5e9009
commit
fdc6559509
@ -447,6 +447,9 @@ function getCurrentSettings(keyType) {
|
||||
inputs.forEach(element => {
|
||||
let id = element.id;
|
||||
let value = element.value;
|
||||
if (id.indexOf('apply_') === 0) {
|
||||
value = element.checked;
|
||||
}
|
||||
currentSettings[id] = value;
|
||||
});
|
||||
return currentSettings;
|
||||
|
Loading…
Reference in New Issue
Block a user