Files
2025-01-21 15:46:21 +03:00

18 lines
915 B
Diff
Executable File

--- a/lookandfeel/contents/lockscreen/Lockscreen.qml
+++ b/lookandfeel/contents/lockscreen/Lockscreen.qml
@@ -156,6 +156,14 @@
enabled: !authenticator.graceLocked
onAccepted: unlockFunction()
focus: true
+ //HACK: Similar hack is needed in sddm loginscreen
+ //TODO: investigate
+ Timer {
+ interval: 200
+ running: true
+ repeat: false
+ onTriggered: passwordInput.forceActiveFocus()
+ }
visible: block.mainItem.model.get(block.mainItem.selectedIndex)["showPassword"]
onVisibleChanged: {
if (visible) {