From 99e63c9d4bed471e9ed9d4205c7c09d101644ce1 Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Sat, 24 Dec 2016 11:30:12 +0900 Subject: Wifi: Clear password data when the dialog hidden Change-Id: I67d6112fe587abe3506e80835281ac347262aae7 Signed-off-by: Tasuku Suzuki --- app/wifi/Wifi.qml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'app/wifi') 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 { -- cgit 1.2.3-korg