mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-03 10:14:45 +00:00
lockscreen: explicitly tell keyboard to open rather than relying on focus
This commit is contained in:
parent
f292ca20f4
commit
7921eacaae
1 changed files with 6 additions and 1 deletions
|
|
@ -179,7 +179,12 @@ Rectangle {
|
||||||
anchors.margins: units.smallSpacing
|
anchors.margins: units.smallSpacing
|
||||||
implicitWidth: height
|
implicitWidth: height
|
||||||
icon.name: "input-keyboard-virtual-symbolic"
|
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")
|
// label ("wrong pin", "enter pin")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue