From c7fe1d5ea43e7b47bc21eade4914623be935219b Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sat, 18 Aug 2018 17:23:29 +0200 Subject: Account name from metadata.json --- components/accounts/qml/AccountWizard.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'components/accounts/qml/AccountWizard.qml') diff --git a/components/accounts/qml/AccountWizard.qml b/components/accounts/qml/AccountWizard.qml index b928fd8b..eb259aa6 100644 --- a/components/accounts/qml/AccountWizard.qml +++ b/components/accounts/qml/AccountWizard.qml @@ -72,8 +72,12 @@ Kube.Popup { delegate: Kube.Button { objectName: "accountTypeButton" + modelData Layout.fillWidth: true - text: modelData + text: accountFactory.accountName onClicked: stack.push(wizardPage.createObject(stack, {accountType:modelData})) + Kube.AccountFactory { + id: accountFactory + accountType: modelData + } } } } -- cgit v1.2.3