diff options
Diffstat (limited to 'qt-mobile/qml/CloudCredentials.qml')
-rw-r--r-- | qt-mobile/qml/CloudCredentials.qml | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/qt-mobile/qml/CloudCredentials.qml b/qt-mobile/qml/CloudCredentials.qml index 3eeeb16b4..4f1484ce8 100644 --- a/qt-mobile/qml/CloudCredentials.qml +++ b/qt-mobile/qml/CloudCredentials.qml @@ -12,18 +12,28 @@ Item { property string username: login.text; property string password: password.text; - property bool issave: savePassword.checked; function saveCredentials() { manager.cloudUserName = login.text manager.cloudPassword = password.text - manager.saveCloudPassword = savePassword.checked manager.saveCloudCredentials() } ColumnLayout { id: outerLayout width: subsurfaceTheme.columnWidth - 2 * Kirigami.Units.gridUnit + + onVisibleChanged: { + if (visible) { + manager.appendTextToLog("Credential scrn: show kbd was: " + (Qt.inputMethod.isVisible ? "visible" : "invisible")) + Qt.inputMethod.show() + login.forceActiveFocus() + } else { + manager.appendTextToLog("Credential scrn: hide kbd was: " + (Qt.inputMethod.isVisible ? "visible" : "invisible")) + Qt.inputMethod.hide() + } + } + Kirigami.Heading { text: "Cloud credentials" level: headingLevel @@ -68,14 +78,6 @@ Item { Kirigami.Label { text: "Show password" } - - CheckBox { - checked: manager.saveCloudPassword - id: savePassword - } - Kirigami.Label { - text: "Remember" - } } Item { width: Kirigami.Units.gridUnit; height: width } } |