From b7c121f0900d36bd9c0ad40a6beb0bbdeae6ad99 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 10 Aug 2025 23:23:26 +1000 Subject: lock: fix button --- modules/lock/Center.qml | 2 +- modules/lock/Pam.qml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/lock') diff --git a/modules/lock/Center.qml b/modules/lock/Center.qml index 4d32bfd..b288284 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 6752d30..fa6e3d7 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 -- cgit v1.2.3-freya