From e49a3b01ab85c51b23bca0f4ae9acf5d8828f11d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 22 Jul 2017 13:15:28 -0700 Subject: 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 --- mobile-widgets/qml/CloudCredentials.qml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mobile-widgets/qml/CloudCredentials.qml') 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 { -- cgit v1.2.3-70-g09d2