lockscreen: explicitly tell keyboard to open rather than relying on focus

This commit is contained in:
Devin Lin 2021-06-07 16:52:12 -04:00
parent f292ca20f4
commit 7921eacaae

View file

@ -179,7 +179,12 @@ Rectangle {
anchors.margins: units.smallSpacing
implicitWidth: height
icon.name: "input-keyboard-virtual-symbolic"
onClicked: root.isPinMode = !root.isPinMode
onClicked: {
root.isPinMode = !root.isPinMode;
if (!root.isPinMode) {
Keyboards.KWinVirtualKeyboard.active = true;
}
}
}
// label ("wrong pin", "enter pin")