Update from u-s-s
commit2f3be892cca55a05520c739ff96faee901ddc067
authorMichael Terry <michael.terry@canonical.com>
dateWed 19 Nov 2014, 13:03 (12 years ago)
parentc07aa7e
wizard/qml/Pages/passwd-confirm.qml+7−1
@@ -60,11 +60,17 @@ LocalComponents.Page {
6060
6161 onEntered: {
6262 if (passphrase === root.password) {
63− pageStack.next()
63+ confirmTimer.start()
6464 } else {
6565 clear(true)
6666 }
6767 }
68+
69+ Timer {
70+ id: confirmTimer
71+ interval: UbuntuAnimation.SnapDuration
72+ onTriggered: pageStack.next()
73+ }
6874 }
6975
7076 Component {
wizard/qml/Pages/passwd-set.qml+7−1
@@ -36,7 +36,13 @@ LocalComponents.Page {
3636
3737 function confirm() {
3838 root.password = lockscreen.passphrase;
39− pageStack.load(Qt.resolvedUrl("passwd-confirm.qml"));
39+ confirmTimer.start()
40+ }
41+
42+ Timer {
43+ id: confirmTimer
44+ interval: UbuntuAnimation.SnapDuration
45+ onTriggered: pageStack.load(Qt.resolvedUrl("passwd-confirm.qml"));
4046 }
4147
4248 UnityComponents.Lockscreen {