on xenial help sign in
fix as Saviq suggested
ea18e64Omer Akram
qml/Notifications/NotificationMenuItemFactory.qml+1−9
@@ -116,15 +116,7 @@ Loader {
116 text: i18n.tr("Show password")
116 text: i18n.tr("Show password")
117 color: notification.sdFontColor
117 color: notification.sdFontColor
118
118
119− onClicked: showPassword()
120− }
121−
122− function showPassword() {
123− if (checkBox.checked == true) {
124− checkBox.checked = false
125− } else {
126− checkBox.checked = true
119+ onClicked: checkBox.checked = !checkBox.checked
127− }
128 }
120 }
129 }
121 }
130 }
122 }