diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-11 18:16:36 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-11 18:16:36 +0200 |
commit | eae257f889d300f6d8b81ff80d81501bcfe933bf (patch) | |
tree | 960bc94863c10311e4e40158a82f38fac5caa6a2 | |
parent | 78fc43ea0c9077552e17361ba0d5960874a0bdee (diff) | |
download | kube-eae257f889d300f6d8b81ff80d81501bcfe933bf.tar.gz kube-eae257f889d300f6d8b81ff80d81501bcfe933bf.zip |
Show the account name
-rw-r--r-- | accounts/maildir/package/contents/ui/MaildirAccountSettings.qml | 2 | ||||
-rw-r--r-- | components/package/contents/ui/Settings.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml b/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml index d9d0741d..5ade461b 100644 --- a/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml +++ b/accounts/maildir/package/contents/ui/MaildirAccountSettings.qml | |||
@@ -50,7 +50,7 @@ Rectangle { | |||
50 | placeholderText: accountName | 50 | placeholderText: accountName |
51 | Layout.fillWidth: true | 51 | Layout.fillWidth: true |
52 | text: maildirSettings.accountName | 52 | text: maildirSettings.accountName |
53 | onTextChanged: { maildirSettings.accountName = text; } | 53 | onTextChanged: { maildirSettings.accountName = text; root.accountName = text; } |
54 | } | 54 | } |
55 | 55 | ||
56 | Label { text: "User Name" } | 56 | Label { text: "User Name" } |
diff --git a/components/package/contents/ui/Settings.qml b/components/package/contents/ui/Settings.qml index a20078dc..897942d8 100644 --- a/components/package/contents/ui/Settings.qml +++ b/components/package/contents/ui/Settings.qml | |||
@@ -117,7 +117,7 @@ Rectangle { | |||
117 | } | 117 | } |
118 | 118 | ||
119 | Label { | 119 | Label { |
120 | text: accountFactory.name | 120 | text: model.name === "" ? accountFactory.name : model.name |
121 | } | 121 | } |
122 | } | 122 | } |
123 | } | 123 | } |