diff --git a/qml/PreferencesView.qml b/qml/PreferencesView.qml index e1d610f00..df4c6b94c 100644 --- a/qml/PreferencesView.qml +++ b/qml/PreferencesView.qml @@ -188,7 +188,10 @@ MainPage { Layout.fillWidth: true enabled: Settings.useProxy text: Settings.proxyHost - onTextChanged: Settings.proxyHost = text + onEditingFinished: { + console.log('update proxy host', text) + Settings.proxyHost = text + } } } Field { @@ -197,7 +200,10 @@ MainPage { GTextField { enabled: Settings.useProxy text: Settings.proxyPort - onTextChanged: Settings.proxyPort = text + onEditingFinished: { + console.log('update proxy port', text) + Settings.proxyPort = text + } } } Field {