Code Review
/
apps
/
settings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
a0a4afb
)
Wifi: Clear password data when the dialog hidden
65/7865/1
author
Tasuku Suzuki
<tasuku.suzuki@qt.io>
Sat, 24 Dec 2016 02:30:12 +0000
(11:30 +0900)
committer
Tasuku Suzuki
<tasuku.suzuki@qt.io>
Sat, 24 Dec 2016 02:33:18 +0000
(11:33 +0900)
Change-Id: I67d6112fe587abe3506e80835281ac347262aae7
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
app/wifi/Wifi.qml
patch
|
blob
|
history
diff --git
a/app/wifi/Wifi.qml
b/app/wifi/Wifi.qml
index
dcde6ed
..
2215de9
100644
(file)
--- 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 {