diff --git a/modules/lock/Center.qml b/modules/lock/Center.qml index 4d32bfd5..b288284b 100644 --- a/modules/lock/Center.qml +++ b/modules/lock/Center.qml @@ -162,7 +162,7 @@ ColumnLayout { color: root.lock.pam.buffer ? Colours.palette.m3onPrimary : Colours.palette.m3onSurface function onClicked(): void { - root.lock.pam.start(); + root.lock.pam.passwd.start(); } } diff --git a/modules/lock/Pam.qml b/modules/lock/Pam.qml index 6752d300..fa6e3d79 100644 --- a/modules/lock/Pam.qml +++ b/modules/lock/Pam.qml @@ -8,6 +8,7 @@ Scope { required property WlSessionLock lock + readonly property alias passwd: passwd readonly property bool active: passwd.active property string state property string buffer