summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--accounts/maildir/package/contents/ui/MaildirAccountSettings.qml2
-rw-r--r--components/package/contents/ui/Settings.qml2
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 }