guard null auth in lock surface text handler
This commit is contained in:
parent
3d68d467f7
commit
e8a7469d47
1 changed files with 2 additions and 1 deletions
|
|
@ -152,7 +152,8 @@ WlSessionLockSurface {
|
||||||
cursorVisible: false
|
cursorVisible: false
|
||||||
enabled: !root._unlocking && root.auth.state !== "max" && root.auth.state !== "busy"
|
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.onReturnPressed: root.auth.submit()
|
||||||
Keys.onEnterPressed: root.auth.submit()
|
Keys.onEnterPressed: root.auth.submit()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue