on xenial help sign in
swap the buttons, Sign In first
1c84fceLukáš Tinkl
qml/Wizard/Pages/55-uaccount.qml+6−6
@@ -41,7 +41,7 @@ LocalComponents.Page {
41 }
41 }
42
42
43 Button {
43 Button {
44− id: signupButton
44+ id: signinButton
45 anchors {
45 anchors {
46 top: infoLabel.bottom
46 top: infoLabel.bottom
47 left: parent.left
47 left: parent.left
@@ -49,14 +49,14 @@ LocalComponents.Page {
49 rightMargin: units.gu(1)
49 rightMargin: units.gu(1)
50 topMargin: units.gu(4)
50 topMargin: units.gu(4)
51 }
51 }
52− text: i18n.tr("Create Account")
52+ text: i18n.tr("Sign In")
53 onClicked: {
53 onClicked: {
54− pageStack.load(Qt.resolvedUrl("uaccount-signup.qml"))
54+ pageStack.load(Qt.resolvedUrl("uaccount-signin.qml"))
55 }
55 }
56 }
56 }
57
57
58 Button {
58 Button {
59− id: signinButton
59+ id: signupButton
60 anchors {
60 anchors {
61 top: infoLabel.bottom
61 top: infoLabel.bottom
62 left: parent.horizontalCenter
62 left: parent.horizontalCenter
@@ -64,9 +64,9 @@ LocalComponents.Page {
64 leftMargin: units.gu(1)
64 leftMargin: units.gu(1)
65 topMargin: units.gu(4)
65 topMargin: units.gu(4)
66 }
66 }
67− text: i18n.tr("Sign In")
67+ text: i18n.tr("Create Account")
68 onClicked: {
68 onClicked: {
69− pageStack.load(Qt.resolvedUrl("uaccount-signin.qml"))
69+ pageStack.load(Qt.resolvedUrl("uaccount-signup.qml"))
70 }
70 }
71 }
71 }
72 }
72 }