diff options
-rw-r--r-- | components/package/contents/ui/AccountSwitcher.qml | 20 | ||||
-rw-r--r-- | components/package/contents/ui/EditAccountDialog.qml | 7 |
2 files changed, 18 insertions, 9 deletions
diff --git a/components/package/contents/ui/AccountSwitcher.qml b/components/package/contents/ui/AccountSwitcher.qml index da878acf..6a9d2deb 100644 --- a/components/package/contents/ui/AccountSwitcher.qml +++ b/components/package/contents/ui/AccountSwitcher.qml | |||
@@ -165,16 +165,20 @@ Button { | |||
165 | onClicked: { | 165 | onClicked: { |
166 | editAccountComponent.createObject(app) | 166 | editAccountComponent.createObject(app) |
167 | } | 167 | } |
168 | } | ||
169 | } | ||
170 | } | ||
171 | 168 | ||
172 | Component { | 169 | Component { |
173 | id: editAccountComponent | 170 | id: editAccountComponent |
171 | |||
172 | KubeComponents.EditAccountDialog { | ||
173 | id: editAccount | ||
174 | 174 | ||
175 | KubeComponents.EditAccountDialog { | 175 | anchors.fill: parent |
176 | id: editAccount | 176 | |
177 | anchors.fill: parent | 177 | //accountId: accountFactory.accountId |
178 | uiSource: accountFactory.uiPath | ||
179 | } | ||
180 | } | ||
181 | } | ||
178 | } | 182 | } |
179 | } | 183 | } |
180 | } | 184 | } |
diff --git a/components/package/contents/ui/EditAccountDialog.qml b/components/package/contents/ui/EditAccountDialog.qml index 2fac4227..24f8b5e2 100644 --- a/components/package/contents/ui/EditAccountDialog.qml +++ b/components/package/contents/ui/EditAccountDialog.qml | |||
@@ -28,8 +28,9 @@ import org.kube.framework.theme 1.0 | |||
28 | Rectangle { | 28 | Rectangle { |
29 | id: root | 29 | id: root |
30 | 30 | ||
31 | color: ColorPalette.border | 31 | property variant uiSource |
32 | 32 | ||
33 | color: ColorPalette.border | ||
33 | opacity: 0.9 | 34 | opacity: 0.9 |
34 | 35 | ||
35 | MouseArea { | 36 | MouseArea { |
@@ -51,5 +52,9 @@ Rectangle { | |||
51 | MouseArea { | 52 | MouseArea { |
52 | anchors.fill: parent | 53 | anchors.fill: parent |
53 | } | 54 | } |
55 | |||
56 | Loader { | ||
57 | source: uiSource | ||
58 | } | ||
54 | } | 59 | } |
55 | } | 60 | } |