From e8a7469d47a78777c9217fd0b21c4a6aaaab49ea Mon Sep 17 00:00:00 2001 From: Damocles Date: Fri, 17 Apr 2026 15:34:10 +0200 Subject: [PATCH] guard null auth in lock surface text handler --- modules/lock/LockSurface.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/lock/LockSurface.qml b/modules/lock/LockSurface.qml index 81b577e..f360887 100644 --- a/modules/lock/LockSurface.qml +++ b/modules/lock/LockSurface.qml @@ -152,7 +152,8 @@ WlSessionLockSurface { cursorVisible: false enabled: !root._unlocking && root.auth.state !== "max" && root.auth.state !== "busy" - onTextChanged: root.auth.buffer = text + onTextChanged: if (root.auth) + root.auth.buffer = text Keys.onReturnPressed: root.auth.submit() Keys.onEnterPressed: root.auth.submit()