on xenial help sign in
Update from wizard-plugin
995f202Michael Terry
qml/Wizard/Pages/passwd-confirm.qml+7−1
@@ -60,11 +60,17 @@ LocalComponents.Page {
60
60
61 onEntered: {
61 onEntered: {
62 if (passphrase === root.password) {
62 if (passphrase === root.password) {
63− pageStack.next()
63+ confirmTimer.start()
64 } else {
64 } else {
65 clear(true)
65 clear(true)
66 }
66 }
67 }
67 }
68+
69+ Timer {
70+ id: confirmTimer
71+ interval: UbuntuAnimation.SnapDuration
72+ onTriggered: pageStack.next()
73+ }
68 }
74 }
69
75
70 Component {
76 Component {
qml/Wizard/Pages/passwd-set.qml+7−1
@@ -36,7 +36,13 @@ LocalComponents.Page {
36
36
37 function confirm() {
37 function confirm() {
38 root.password = lockscreen.passphrase;
38 root.password = lockscreen.passphrase;
39+ confirmTimer.start()
40+ }
41+
42+ Timer {
43+ id: confirmTimer
44+ interval: UbuntuAnimation.SnapDuration
39− pageStack.load(Qt.resolvedUrl("passwd-confirm.qml"));
45+ onTriggered: pageStack.load(Qt.resolvedUrl("passwd-confirm.qml"));
40 }
46 }
41
47
42 UnityComponents.Lockscreen {
48 UnityComponents.Lockscreen {