From d49fcec005b7c2c6a1a1453648d99fde66c494e2 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 21 Sep 2017 18:48:05 +0200 Subject: Autofocus password field --- accounts/kolabnow/package/contents/ui/Login.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'accounts/kolabnow') diff --git a/accounts/kolabnow/package/contents/ui/Login.qml b/accounts/kolabnow/package/contents/ui/Login.qml index ae0213d5..e416b089 100644 --- a/accounts/kolabnow/package/contents/ui/Login.qml +++ b/accounts/kolabnow/package/contents/ui/Login.qml @@ -23,13 +23,12 @@ import org.kube.framework 1.0 as Kube import org.kube.accounts.kolabnow 1.0 as KolabnowAccount Item { - property string accountId + property alias accountId: settings.accountIdentifier property string heading: qsTr("Login") property string subheadline: settings.accountName KolabnowAccount.KolabnowSettings { id: settings - accountIdentifier: accountId accountType: "kolabnow" } @@ -53,8 +52,9 @@ Item { Kube.PasswordField { id: pwField Layout.fillWidth: true + focus: true - placeholderText: qsTr("Password of your email account") + placeholderText: qsTr("Password of your Kolab Now account") text: settings.imapPassword onTextChanged: settings.imapPassword = text } -- cgit v1.2.3