diff options
Diffstat (limited to 'accounts/maildir/package')
-rw-r--r-- | accounts/maildir/package/contents/ui/MaildirAccountSettings.qml | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml b/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml index 174683c4..0175fc46 100644 --- a/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml +++ b/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml | |||
@@ -49,8 +49,8 @@ Rectangle { | |||
49 | id: name | 49 | id: name |
50 | placeholderText: accountName | 50 | placeholderText: accountName |
51 | Layout.fillWidth: true | 51 | Layout.fillWidth: true |
52 | text: accountSettings.accountName | 52 | text: maildirSettings.accountName |
53 | onTextChanged: { accountSettings.accountName = text; } | 53 | onTextChanged: { maildirSettings.accountName = text; } |
54 | } | 54 | } |
55 | 55 | ||
56 | Text { | 56 | Text { |
@@ -149,19 +149,11 @@ Rectangle { | |||
149 | property string password; | 149 | property string password; |
150 | } | 150 | } |
151 | 151 | ||
152 | KubeSettings.Settings { | ||
153 | id: accountSettings | ||
154 | identifier: "account." + accountId | ||
155 | property string accountName; | ||
156 | property string icon: root.icon; | ||
157 | } | ||
158 | |||
159 | Button { | 152 | Button { |
160 | text: "Save" | 153 | text: "Save" |
161 | onClicked: { | 154 | onClicked: { |
162 | transportSettings.save(); | 155 | transportSettings.save(); |
163 | maildirSettings.save(); | 156 | maildirSettings.save(); |
164 | accountSettings.save(); | ||
165 | } | 157 | } |
166 | } | 158 | } |
167 | Button { | 159 | Button { |