on xenial help sign in
fix as Saviq suggested
commitea18e6438eab585ef37c5be4c138314b8868d449 authorOmer Akram <om26er@ubuntu.com> dateThu 6 Nov 2014, 00:19 (12 years ago) parent52f2662
1 file changed+1−9
qml/Notifications/NotificationMenuItemFactory.qml+1−9
qml/Notifications/NotificationMenuItemFactory.qml+1−9
@@ -116,15 +116,7 @@ Loader {
116116 text: i18n.tr("Show password")
117117 color: notification.sdFontColor
118118
119− onClicked: showPassword()
120− }
121−
122− function showPassword() {
123− if (checkBox.checked == true) {
124− checkBox.checked = false
125− } else {
126− checkBox.checked = true
127− }
119+ onClicked: checkBox.checked = !checkBox.checked
128120 }
129121 }
130122 }