diff options
Diffstat (limited to 'accounts/imap/qml')
-rw-r--r-- | accounts/imap/qml/Login.qml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/accounts/imap/qml/Login.qml b/accounts/imap/qml/Login.qml index 14e13e89..c9304b0e 100644 --- a/accounts/imap/qml/Login.qml +++ b/accounts/imap/qml/Login.qml | |||
@@ -33,7 +33,7 @@ Item { | |||
33 | } | 33 | } |
34 | 34 | ||
35 | function login(){ | 35 | function login(){ |
36 | settings.save() | 36 | settings.login({accountSecret: pwField.text}) |
37 | } | 37 | } |
38 | 38 | ||
39 | GridLayout { | 39 | GridLayout { |
@@ -53,10 +53,7 @@ Item { | |||
53 | id: pwField | 53 | id: pwField |
54 | Layout.fillWidth: true | 54 | Layout.fillWidth: true |
55 | focus: true | 55 | focus: true |
56 | |||
57 | placeholderText: qsTr("Password of your IMAP account") | 56 | placeholderText: qsTr("Password of your IMAP account") |
58 | text: settings.imapPassword | ||
59 | onTextChanged: settings.imapPassword = text | ||
60 | } | 57 | } |
61 | } | 58 | } |
62 | } | 59 | } |