diff options
Diffstat (limited to 'components/package/contents/ui/NewAccountDialog.qml')
-rw-r--r-- | components/package/contents/ui/NewAccountDialog.qml | 6 |
1 files changed, 4 insertions, 2 deletions
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 | } |