diff options
Diffstat (limited to 'qt-mobile/qml/CloudCredentials.qml')
-rw-r--r-- | qt-mobile/qml/CloudCredentials.qml | 10 |
1 files changed, 10 insertions, 0 deletions
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 |