summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/package/contents/ui/AccountSwitcher.qml3
-rw-r--r--components/package/contents/ui/NewAccountDialog.qml6
2 files changed, 7 insertions, 2 deletions
diff --git a/components/package/contents/ui/AccountSwitcher.qml b/components/package/contents/ui/AccountSwitcher.qml
index 5950dab7..b0d48694 100644
--- a/components/package/contents/ui/AccountSwitcher.qml
+++ b/components/package/contents/ui/AccountSwitcher.qml
@@ -79,6 +79,7 @@ Button {
79 79
80 onClicked: { 80 onClicked: {
81 newAccountComponent.createObject(app) 81 newAccountComponent.createObject(app)
82 dialog.visible = false
82 } 83 }
83 84
84 Component { 85 Component {
@@ -103,6 +104,7 @@ Button {
103 104
104 onClicked: { 105 onClicked: {
105 syncAction.execute() 106 syncAction.execute()
107 dialog.visible = false
106 } 108 }
107 } 109 }
108 } 110 }
@@ -166,6 +168,7 @@ Button {
166 168
167 onClicked: { 169 onClicked: {
168 editAccountComponent.createObject(app) 170 editAccountComponent.createObject(app)
171 dialog.visible = false
169 } 172 }
170 173
171 Component { 174 Component {
diff --git a/components/package/contents/ui/NewAccountDialog.qml b/components/package/contents/ui/NewAccountDialog.qml
index d46728a5..975f7a32 100644
--- a/components/package/contents/ui/NewAccountDialog.qml
+++ b/components/package/contents/ui/NewAccountDialog.qml
@@ -37,8 +37,8 @@ KubeComponents.OverlayDialog {
37 37
38 anchors.centerIn: parent 38 anchors.centerIn: parent
39 39
40 height: root.height * 0.8 40 height: parent.height * 0.8
41 width: root.width * 0.8 41 width: parent.width * 0.8
42 42
43 ToolBar { 43 ToolBar {
44 id: toolBar 44 id: toolBar
@@ -108,6 +108,7 @@ KubeComponents.OverlayDialog {
108 108
109 onClicked: { 109 onClicked: {
110 accountsController.createAccount("imap"); 110 accountsController.createAccount("imap");
111 root.closeDialog()
111 //stack.push(imap) 112 //stack.push(imap)
112 } 113 }
113 } 114 }
@@ -120,6 +121,7 @@ KubeComponents.OverlayDialog {
120 121
121 onClicked: { 122 onClicked: {
122 accountsController.createAccount("maildir"); 123 accountsController.createAccount("maildir");
124 root.closeDialog()
123 //stack.push(maildir) 125 //stack.push(maildir)
124 } 126 }
125 } 127 }