summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-09-08 14:01:15 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-09-08 14:01:15 +0200
commit16bcff91c8f4c9a4a72c1b11ec41fba80bfe85d7 (patch)
tree240cc6ff367bb4cabe74da72cbb6fdf3a867bb45
parentdcd132fff3ec25091a882b7aca99cad14b924370 (diff)
downloadkube-16bcff91c8f4c9a4a72c1b11ec41fba80bfe85d7.tar.gz
kube-16bcff91c8f4c9a4a72c1b11ec41fba80bfe85d7.zip
Make the account name a requirement as well
-rw-r--r--accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml b/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml
index be509641..6551e202 100644
--- a/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml
+++ b/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml
@@ -60,7 +60,7 @@ Item {
60 text: qsTr("Title of Account") 60 text: qsTr("Title of Account")
61 Layout.alignment: Qt.AlignRight 61 Layout.alignment: Qt.AlignRight
62 } 62 }
63 Kube.TextField { 63 Kube.RequiredTextField {
64 id: accountField 64 id: accountField
65 Layout.fillWidth: true 65 Layout.fillWidth: true
66 placeholderText: qsTr("E.g. \"Work\", \"Home\" that will be displayed in Kube as name") 66 placeholderText: qsTr("E.g. \"Work\", \"Home\" that will be displayed in Kube as name")
@@ -68,7 +68,6 @@ Item {
68 onTextChanged: { 68 onTextChanged: {
69 kolabnowSettings.accountName = text 69 kolabnowSettings.accountName = text
70 } 70 }
71 validator: RegExpValidator { regExp: /.*\S.*/ }
72 } 71 }
73 72
74 Kube.Label { 73 Kube.Label {