wifi password dialog: also show password if tapped on the label
commit52f2662e062254573d9ee08f3525a3a9808182ab
authorOmer Akram <om26er@ubuntu.com>
dateWed 5 Nov 2014, 23:57 (12 years ago)
parentf830686
qml/Notifications/NotificationMenuItemFactory.qml+10
@@ -115,6 +115,16 @@ Loader {
115115 anchors.verticalCenter: checkBox.verticalCenter
116116 text: i18n.tr("Show password")
117117 color: notification.sdFontColor
118+
119+ onClicked: showPassword()
120+ }
121+
122+ function showPassword() {
123+ if (checkBox.checked == true) {
124+ checkBox.checked = false
125+ } else {
126+ checkBox.checked = true
127+ }
118128 }
119129 }
120130 }