summaryrefslogtreecommitdiffstats
path: root/app/wifi/Wifi.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/wifi/Wifi.qml')
-rw-r--r--app/wifi/Wifi.qml9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/wifi/Wifi.qml b/app/wifi/Wifi.qml
index 66ee2c2..52cd44d 100644
--- a/app/wifi/Wifi.qml
+++ b/app/wifi/Wifi.qml
@@ -184,7 +184,14 @@ SettingPage {
anchors.fill: parent
visible: false
z: 1
- onVisibleChanged: if (visible) password.forceActiveFocus()
+ onVisibleChanged: {
+ if (visible) {
+ password.forceActiveFocus()
+ } else {
+ password.text = ''
+ }
+ }
+
ColumnLayout {
anchors.fill: parent
Item {