summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/accounts/qml/AccountWizard.qml6
-rw-r--r--views/accounts/qml/View.qml6
2 files changed, 6 insertions, 6 deletions
diff --git a/components/accounts/qml/AccountWizard.qml b/components/accounts/qml/AccountWizard.qml
index 4a11ca05..9c4adbe2 100644
--- a/components/accounts/qml/AccountWizard.qml
+++ b/components/accounts/qml/AccountWizard.qml
@@ -39,9 +39,9 @@ Kube.Popup {
39 Component.onCompleted: { 39 Component.onCompleted: {
40 //If we only have one account type we skip the selection 40 //If we only have one account type we skip the selection
41 if (root.availableAccountPlugins.length == 1) { 41 if (root.availableAccountPlugins.length == 1) {
42 stack.push(wizardPage.createObject(app, {accountType: root.availableAccountPlugins[0]})) 42 stack.push(wizardPage.createObject(stack, {accountType: root.availableAccountPlugins[0]}))
43 } else { 43 } else {
44 stack.push(mainView.createObject(app)) 44 stack.push(mainView.createObject(stack))
45 } 45 }
46 } 46 }
47 onCurrentItemChanged: { 47 onCurrentItemChanged: {
@@ -72,7 +72,7 @@ Kube.Popup {
72 delegate: Kube.Button { 72 delegate: Kube.Button {
73 Layout.fillWidth: true 73 Layout.fillWidth: true
74 text: modelData 74 text: modelData
75 onClicked: stack.push(wizardPage.createObject(app, {accountType:modelData})) 75 onClicked: stack.push(wizardPage.createObject(stack, {accountType:modelData}))
76 } 76 }
77 } 77 }
78 } 78 }
diff --git a/views/accounts/qml/View.qml b/views/accounts/qml/View.qml
index 9b774907..b81579ae 100644
--- a/views/accounts/qml/View.qml
+++ b/views/accounts/qml/View.qml
@@ -132,9 +132,9 @@ FocusScope {
132 id: accountWizard 132 id: accountWizard
133 133
134 parent: ApplicationWindow.overlay 134 parent: ApplicationWindow.overlay
135 height: app.height 135 height: root.height
136 width: app.width - app.sidebarWidth 136 width: root.width
137 x: app.sidebarWidth 137 x: root.mapToGlobal(root.x, root.y).x
138 y: 0 138 y: 0
139 139
140 availableAccountPlugins: root.availableAccountPlugins 140 availableAccountPlugins: root.availableAccountPlugins