diff options
Diffstat (limited to 'modules/lock/Pam.qml')
| -rw-r--r-- | modules/lock/Pam.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/lock/Pam.qml b/modules/lock/Pam.qml index 7863603..6752d30 100644 --- a/modules/lock/Pam.qml +++ b/modules/lock/Pam.qml @@ -8,8 +8,9 @@ Scope { required property WlSessionLock lock - property string state: "none" - property string buffer: "" + readonly property bool active: passwd.active + property string state + property string buffer function handleKey(event: KeyEvent): void { if (passwd.active) @@ -59,6 +60,6 @@ Scope { id: stateReset interval: 4000 - onTriggered: root.state = "none" + onTriggered: root.state = "" } } |