Focus password field by default on launch
parent
a3e18fe9e3
commit
94d3eb3c13
|
@ -60,6 +60,10 @@ Kirigami.ScrollablePage {
|
||||||
Kirigami.FormData.label: i18nc("@label:textbox", "Password:")
|
Kirigami.FormData.label: i18nc("@label:textbox", "Password:")
|
||||||
enabled: !vm.busy
|
enabled: !vm.busy
|
||||||
onAccepted: unlockAction.trigger()
|
onAccepted: unlockAction.trigger()
|
||||||
|
|
||||||
|
Component.onCompleted: {
|
||||||
|
forceActiveFocus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue