Commit 370976d7 authored by Nate Graham's avatar Nate Graham
Browse files

NoPaswordUnlock screen: focus it by default

Otherwise the user needs to manually tab over to the Unlock button
first, which is annoying. And they may not even think to do it at all.

The `forceActiveFocus()` is because the stack view does not manually pass focus
to the item you push onto it; this needs to be handled manually.

BUG: 454707
parent 3ca3bc7e
Pipeline #184323 passed with stage
in 6 minutes and 6 seconds
......@@ -20,4 +20,8 @@ SessionManagementScreen {
Keys.onEnterPressed: clicked()
Keys.onReturnPressed: clicked()
}
Component.onCompleted: {
forceActiveFocus();
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment