adding key navigation focusing code

This commit is contained in:
Chris Cochrun 2022-09-26 06:38:00 -05:00
parent 2541c61eb6
commit 4f0ab74fa1

View file

@ -39,6 +39,7 @@ Controls.Page {
property string editType property string editType
Component.onCompleted: refocusTimer.start()
Item { Item {
id: mainItem id: mainItem
anchors.fill: parent anchors.fill: parent
@ -130,6 +131,12 @@ Controls.Page {
id: serviceItemModel id: serviceItemModel
} }
Timer {
id: refocusTimer
interval: 500
repeat: true
onTriggered: keyHandler.forceActiveFocus()
}
Item { Item {
id: keyHandler id: keyHandler