on xenial help sign in
Cancel goes back one step at a time
451eeb8Lukáš Tinkl
qml/Wizard/Pages/password-set.qml+8−1
@@ -136,7 +136,14 @@ LocalComponents.Page {
136 }
136 }
137 text: i18n.tr("Cancel")
137 text: i18n.tr("Cancel")
138 onClicked: {
138 onClicked: {
139+ if (confirmPhase) {
140+ confirmPhase = false;
141+ password = "";
142+ setInfo();
143+ passwordField.forceActiveFocus();
144+ } else {
139− pageStack.prev();
145+ pageStack.prev();
146+ }
140 }
147 }
141 }
148 }
142
149