diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-07-22 13:15:28 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-22 16:15:00 -0700 |
commit | e49a3b01ab85c51b23bca0f4ae9acf5d8828f11d (patch) | |
tree | 0c97669a476d518a89c8fb2aef2e47bacbaacffc /mobile-widgets/qml/CloudCredentials.qml | |
parent | 680022aea581a020c34eedfca00ab4f414c43d0e (diff) | |
download | subsurface-e49a3b01ab85c51b23bca0f4ae9acf5d8828f11d.tar.gz |
QML UI: save credentials as they are bein entered
We removed the action button for saving on the Settings page, so credentials
never got saved.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/CloudCredentials.qml')
-rw-r--r-- | mobile-widgets/qml/CloudCredentials.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mobile-widgets/qml/CloudCredentials.qml b/mobile-widgets/qml/CloudCredentials.qml index 869b24396..72a5ccb12 100644 --- a/mobile-widgets/qml/CloudCredentials.qml +++ b/mobile-widgets/qml/CloudCredentials.qml @@ -67,6 +67,9 @@ Item { Layout.fillWidth: true inputMethodHints: Qt.ImhEmailCharactersOnly | Qt.ImhNoAutoUppercase + onEditingFinished: { + saveCredentials() + } } Kirigami.Label { @@ -81,6 +84,9 @@ Item { Qt.ImhHiddenText | Qt.ImhNoAutoUppercase Layout.fillWidth: true + onEditingFinished: { + saveCredentials() + } } GridLayout { |