Fix from and to is not defined in NetworkProxyPage

This commit is contained in:
Gary Wang
2022-12-30 19:25:02 +08:00
parent 893ee4a763
commit 4c9f062a70

View File

@@ -83,7 +83,7 @@ Kirigami.ScrollablePage {
value: Config.proxyPort
from: 0
to: 65536
validator: IntValidator {bottom: from; top: to}
validator: IntValidator {bottom: portField.from; top: portField.to}
textFromValue: function(value, locale) {
return value // it will add a thousands separator if we don't do this, not sure why
}