summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-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 dcde6ed..2215de9 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 {