on xenial help sign in
Fix "Tap to Unlock" text not appearing when in tablet greeter mode with only one user.

Approved by PS Jenkins bot, Michael Zanetti.

commit819c662068827cf0154073113e9f315836c79b0f authorMichael Terry <michael.terry@canonical.com> dateThu 27 Jun 2013, 20:06 (13 years ago) parent05cc5ab7631891
2 files changed+3−9
Greeter/GreeterContent.qml+3−1 Greeter/LoginList.qml−8
Greeter/GreeterContent.qml+3−1
@@ -80,7 +80,9 @@ MouseArea {
8080 source: greeter.narrowMode ? "" : "LoginList.qml"
8181
8282 onLoaded: {
83− item.currentIndex = greeterContentLoader.currentIndex
83+ item.currentIndex = greeterContentLoader.currentIndex;
84+ selected(item.currentIndex);
85+ item.resetAuthentication();
8486 }
8587
8688 Binding {
Greeter/LoginList.qml−8
@@ -66,14 +66,6 @@ Item {
6666
6767 readonly property bool movingInternally: moveTimer.running || userList.moving
6868
69− onCountChanged: {
70− // Start authentication when we start up
71− if (!LightDM.Greeter.authenticationUser && userList.currentItem) {
72− root.selected(userList.currentIndex);
73− root.resetAuthentication();
74− }
75− }
76−
7769 onCurrentIndexChanged: {
7870 if (LightDM.Greeter.authenticationUser != userList.model.data(currentIndex, LightDM.UserRoles.NameRole)) {
7971 root.resetAuthentication();