fix closeAndSaveConfigDialog
This commit is contained in:
parent
dc1b0775fa
commit
f2268fad81
1 changed files with 1 additions and 1 deletions
|
@ -530,7 +530,7 @@
|
|||
return;
|
||||
}
|
||||
for (const key of CONFIG_NUMERIC_KEYS) {
|
||||
if (!isNumeric(this.config[key])) {
|
||||
if (!isNaN(this.config[key]) && this.config[key].trim().length > 0) {
|
||||
alert(`Invalid number for ${key} (expected an integer or a float)`);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue