diff options
Diffstat (limited to 'components/package/contents/ui')
-rw-r--r-- | components/package/contents/ui/AccountSwitcher.qml | 3 | ||||
-rw-r--r-- | components/package/contents/ui/NewAccountDialog.qml | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/components/package/contents/ui/AccountSwitcher.qml b/components/package/contents/ui/AccountSwitcher.qml index a29a290d..e9e9b549 100644 --- a/components/package/contents/ui/AccountSwitcher.qml +++ b/components/package/contents/ui/AccountSwitcher.qml | |||
@@ -79,6 +79,7 @@ Controls2.Button { | |||
79 | 79 | ||
80 | onClicked: { | 80 | onClicked: { |
81 | newAccountComponent.createObject(app) | 81 | newAccountComponent.createObject(app) |
82 | popup.close() | ||
82 | } | 83 | } |
83 | 84 | ||
84 | Component { | 85 | Component { |
@@ -174,7 +175,7 @@ Controls2.Button { | |||
174 | 175 | ||
175 | onClicked: { | 176 | onClicked: { |
176 | editAccountComponent.createObject(app) | 177 | editAccountComponent.createObject(app) |
177 | dialog.visible = false | 178 | popup.close() |
178 | } | 179 | } |
179 | 180 | ||
180 | Component { | 181 | Component { |
diff --git a/components/package/contents/ui/NewAccountDialog.qml b/components/package/contents/ui/NewAccountDialog.qml index e565cb6a..de168de7 100644 --- a/components/package/contents/ui/NewAccountDialog.qml +++ b/components/package/contents/ui/NewAccountDialog.qml | |||
@@ -97,13 +97,15 @@ KubeComponents.OverlayDialog { | |||
97 | text: "kolabnow" | 97 | text: "kolabnow" |
98 | 98 | ||
99 | onClicked: { | 99 | onClicked: { |
100 | stack.push(kolabnow) | 100 | accountsController.createAccount("kolabnow"); |
101 | root.closeDialog() | ||
102 | //stack.push(imap) | ||
101 | } | 103 | } |
102 | } | 104 | } |
103 | 105 | ||
104 | Button { | 106 | Button { |
105 | anchors.horizontalCenter: parent.horizontalCenter | 107 | anchors.horizontalCenter: parent.horizontalCenter |
106 | width: pageRoot.width * 0.4 | 108 | width: pageRoot.width * 0.4 |
107 | 109 | ||
108 | text: "imap" | 110 | text: "imap" |
109 | 111 | ||