diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-24 11:46:56 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-24 11:46:56 +0100 |
commit | 23d0a911ff3618e74f134722b9bfa47c429df7f7 (patch) | |
tree | 955dc545709e1d1a12e1f6c91155cec52b9a5b91 /accounts/imap/qml/AccountSettings.qml | |
parent | d1137017d4a94d8c2f2def84fed7d027bd4c7b00 (diff) | |
download | kube-23d0a911ff3618e74f134722b9bfa47c429df7f7.tar.gz kube-23d0a911ff3618e74f134722b9bfa47c429df7f7.zip |
Tie the account name to the email address
Diffstat (limited to 'accounts/imap/qml/AccountSettings.qml')
-rw-r--r-- | accounts/imap/qml/AccountSettings.qml | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/accounts/imap/qml/AccountSettings.qml b/accounts/imap/qml/AccountSettings.qml index d81f9c54..186b6bd7 100644 --- a/accounts/imap/qml/AccountSettings.qml +++ b/accounts/imap/qml/AccountSettings.qml | |||
@@ -52,19 +52,6 @@ Item { | |||
52 | rowSpacing: Kube.Units.largeSpacing | 52 | rowSpacing: Kube.Units.largeSpacing |
53 | 53 | ||
54 | Kube.Label { | 54 | Kube.Label { |
55 | text: qsTr("Title of Account") | ||
56 | Layout.alignment: Qt.AlignRight | ||
57 | } | ||
58 | Kube.RequiredTextField { | ||
59 | Layout.fillWidth: true | ||
60 | placeholderText: qsTr("E.g. \"Work\", \"Home\" that will be displayed in Kube as name") | ||
61 | text: imapSettings.accountName | ||
62 | onTextChanged: { | ||
63 | imapSettings.accountName = text | ||
64 | } | ||
65 | } | ||
66 | |||
67 | Kube.Label { | ||
68 | text: qsTr("Name") | 55 | text: qsTr("Name") |
69 | Layout.alignment: Qt.AlignRight | 56 | Layout.alignment: Qt.AlignRight |
70 | } | 57 | } |
@@ -89,6 +76,7 @@ Item { | |||
89 | imapSettings.emailAddress = text | 76 | imapSettings.emailAddress = text |
90 | imapSettings.imapUsername = text | 77 | imapSettings.imapUsername = text |
91 | imapSettings.smtpUsername = text | 78 | imapSettings.smtpUsername = text |
79 | imapSettings.accountName = text | ||
92 | } | 80 | } |
93 | placeholderText: qsTr("Your email address") | 81 | placeholderText: qsTr("Your email address") |
94 | } | 82 | } |