lock: clear password buffer on unlock
For when unlocking via ipc/globalshortcut
This commit is contained in:
parent
00b5e88a32
commit
832603903e
1 changed files with 8 additions and 0 deletions
|
|
@ -63,4 +63,12 @@ Scope {
|
|||
interval: 4000
|
||||
onTriggered: root.state = ""
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: root.lock
|
||||
|
||||
function onUnlock(): void {
|
||||
root.buffer = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue