summaryrefslogtreecommitdiffstats
path: root/accounts/gmail/qml/AccountSettings.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-24 11:46:56 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-01-24 11:46:56 +0100
commit23d0a911ff3618e74f134722b9bfa47c429df7f7 (patch)
tree955dc545709e1d1a12e1f6c91155cec52b9a5b91 /accounts/gmail/qml/AccountSettings.qml
parentd1137017d4a94d8c2f2def84fed7d027bd4c7b00 (diff)
downloadkube-23d0a911ff3618e74f134722b9bfa47c429df7f7.tar.gz
kube-23d0a911ff3618e74f134722b9bfa47c429df7f7.zip
Tie the account name to the email address
Diffstat (limited to 'accounts/gmail/qml/AccountSettings.qml')
-rw-r--r--accounts/gmail/qml/AccountSettings.qml14
1 files changed, 1 insertions, 13 deletions
diff --git a/accounts/gmail/qml/AccountSettings.qml b/accounts/gmail/qml/AccountSettings.qml
index 0ebce1d3..15430a17 100644
--- a/accounts/gmail/qml/AccountSettings.qml
+++ b/accounts/gmail/qml/AccountSettings.qml
@@ -63,19 +63,6 @@ Item {
63 } 63 }
64 64
65 Kube.Label { 65 Kube.Label {
66 text: qsTr("Title of Account")
67 Layout.alignment: Qt.AlignRight
68 }
69 Kube.TextField {
70 Layout.fillWidth: true
71 placeholderText: qsTr("E.g. \"Work\", \"Home\" that will be displayed in Kube as name")
72 text: gmailSettings.accountName
73 onTextChanged: {
74 gmailSettings.accountName = text
75 }
76 }
77
78 Kube.Label {
79 text: qsTr("Name") 66 text: qsTr("Name")
80 Layout.alignment: Qt.AlignRight 67 Layout.alignment: Qt.AlignRight
81 } 68 }
@@ -98,6 +85,7 @@ Item {
98 text: gmailSettings.emailAddress 85 text: gmailSettings.emailAddress
99 onTextChanged: { 86 onTextChanged: {
100 gmailSettings.emailAddress = text 87 gmailSettings.emailAddress = text
88 gmailSettings.accountName = text
101 } 89 }
102 placeholderText: qsTr("Your email address") 90 placeholderText: qsTr("Your email address")
103 } 91 }