mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-07 23:56:15 +00:00
QML UI: avoid having the virtual keyboard show briefly at startup
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f19ffb28c6
commit
cace666741
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ Item {
|
||||||
width: subsurfaceTheme.columnWidth - 2 * Kirigami.Units.gridUnit
|
width: subsurfaceTheme.columnWidth - 2 * Kirigami.Units.gridUnit
|
||||||
|
|
||||||
onVisibleChanged: {
|
onVisibleChanged: {
|
||||||
if (visible) {
|
if (visible && !manager.accessingCloud) {
|
||||||
manager.appendTextToLog("Credential scrn: show kbd was: " + (Qt.inputMethod.isVisible ? "visible" : "invisible"))
|
manager.appendTextToLog("Credential scrn: show kbd was: " + (Qt.inputMethod.isVisible ? "visible" : "invisible"))
|
||||||
Qt.inputMethod.show()
|
Qt.inputMethod.show()
|
||||||
login.forceActiveFocus()
|
login.forceActiveFocus()
|
||||||
|
|
Loading…
Add table
Reference in a new issue