on xenial help sign in
Cancel goes back one step at a time
commit451eeb834408ae766728f38369b27599c5eb11fe authorLukáš Tinkl <lukas.tinkl@canonical.com> dateWed 9 Sep 2015, 12:13 (11 years ago) parenta36b48f
1 file changed+8−1
qml/Wizard/Pages/password-set.qml+8−1
qml/Wizard/Pages/password-set.qml+8−1
@@ -136,7 +136,14 @@ LocalComponents.Page {
136136 }
137137 text: i18n.tr("Cancel")
138138 onClicked: {
139− pageStack.prev();
139+ if (confirmPhase) {
140+ confirmPhase = false;
141+ password = "";
142+ setInfo();
143+ passwordField.forceActiveFocus();
144+ } else {
145+ pageStack.prev();
146+ }
140147 }
141148 }
142149