diff --git a/qt-mobile/qml/CloudCredentials.qml b/qt-mobile/qml/CloudCredentials.qml index b31e59c03..6da8b0bab 100644 --- a/qt-mobile/qml/CloudCredentials.qml +++ b/qt-mobile/qml/CloudCredentials.qml @@ -23,6 +23,16 @@ Item { ColumnLayout { id: outerLayout width: subsurfaceTheme.columnWidth - 2 * MobileComponents.Units.gridUnit + + onVisibleChanged: { + if (visible) { + Qt.inputMethod.show() + login.forceActiveFocus() + } else { + Qt.inputMethod.hide() + } + } + MobileComponents.Heading { text: "Cloud credentials" level: headingLevel