diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-18 17:23:29 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-18 17:23:29 +0200 |
commit | c7fe1d5ea43e7b47bc21eade4914623be935219b (patch) | |
tree | def16ceff11e4fd952911f20c24e46578215ebab /components | |
parent | e2f86e32a295cddacc6053936933150d1e7c665b (diff) | |
download | kube-c7fe1d5ea43e7b47bc21eade4914623be935219b.tar.gz kube-c7fe1d5ea43e7b47bc21eade4914623be935219b.zip |
Account name from metadata.json
Diffstat (limited to 'components')
-rw-r--r-- | components/accounts/qml/AccountWizard.qml | 6 |
1 files changed, 5 insertions, 1 deletions
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 { | |||
72 | delegate: Kube.Button { | 72 | delegate: Kube.Button { |
73 | objectName: "accountTypeButton" + modelData | 73 | objectName: "accountTypeButton" + modelData |
74 | Layout.fillWidth: true | 74 | Layout.fillWidth: true |
75 | text: modelData | 75 | text: accountFactory.accountName |
76 | onClicked: stack.push(wizardPage.createObject(stack, {accountType:modelData})) | 76 | onClicked: stack.push(wizardPage.createObject(stack, {accountType:modelData})) |
77 | Kube.AccountFactory { | ||
78 | id: accountFactory | ||
79 | accountType: modelData | ||
80 | } | ||
77 | } | 81 | } |
78 | } | 82 | } |
79 | } | 83 | } |