summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/wifi/Wifi.qml11
1 files changed, 7 insertions, 4 deletions
diff --git a/app/wifi/Wifi.qml b/app/wifi/Wifi.qml
index f183b8d..f3b6d32 100644
--- a/app/wifi/Wifi.qml
+++ b/app/wifi/Wifi.qml
@@ -163,8 +163,9 @@ SettingPage {
Button {
text: 'Cancel'
onClicked: {
- dialog.visible = false
- password.text = ''
+ dialog.visible = false
+ password.text = ''
+ network.input(password.reqid, '')
}
}
}
@@ -188,8 +189,10 @@ SettingPage {
}
onInvalidPassphrase: {
- console.log("Invalid passphrase for (", service, ")")
- network.connect(service)
+ if (password.text != '') {
+ console.log("Invalid passphrase for (", service, ")")
+ network.connect(service)
+ }
}
}
}