diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-21 18:48:05 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-22 10:26:27 +0200 |
commit | d49fcec005b7c2c6a1a1453648d99fde66c494e2 (patch) | |
tree | 34a8b9bde9aab3f26a54dd9c996b2e05a978dae7 /accounts | |
parent | 53c4fa0b3e356a346ea99a02b79a9d7cb7a7f403 (diff) | |
download | kube-d49fcec005b7c2c6a1a1453648d99fde66c494e2.tar.gz kube-d49fcec005b7c2c6a1a1453648d99fde66c494e2.zip |
Autofocus password field
Diffstat (limited to 'accounts')
-rw-r--r-- | accounts/kolabnow/package/contents/ui/Login.qml | 6 |
1 files changed, 3 insertions, 3 deletions
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 | |||
23 | import org.kube.accounts.kolabnow 1.0 as KolabnowAccount | 23 | import org.kube.accounts.kolabnow 1.0 as KolabnowAccount |
24 | 24 | ||
25 | Item { | 25 | Item { |
26 | property string accountId | 26 | property alias accountId: settings.accountIdentifier |
27 | property string heading: qsTr("Login") | 27 | property string heading: qsTr("Login") |
28 | property string subheadline: settings.accountName | 28 | property string subheadline: settings.accountName |
29 | 29 | ||
30 | KolabnowAccount.KolabnowSettings { | 30 | KolabnowAccount.KolabnowSettings { |
31 | id: settings | 31 | id: settings |
32 | accountIdentifier: accountId | ||
33 | accountType: "kolabnow" | 32 | accountType: "kolabnow" |
34 | } | 33 | } |
35 | 34 | ||
@@ -53,8 +52,9 @@ Item { | |||
53 | Kube.PasswordField { | 52 | Kube.PasswordField { |
54 | id: pwField | 53 | id: pwField |
55 | Layout.fillWidth: true | 54 | Layout.fillWidth: true |
55 | focus: true | ||
56 | 56 | ||
57 | placeholderText: qsTr("Password of your email account") | 57 | placeholderText: qsTr("Password of your Kolab Now account") |
58 | text: settings.imapPassword | 58 | text: settings.imapPassword |
59 | onTextChanged: settings.imapPassword = text | 59 | onTextChanged: settings.imapPassword = text |
60 | } | 60 | } |