Put focus on search bar when Digital Library opens

Fixes CURA-8768.
This commit is contained in:
Ghostkeeper 2022-01-13 13:55:42 +01:00
parent 69d3f0e6f6
commit 73a151ab49
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -50,6 +50,7 @@ Item
Layout.fillWidth: true
implicitHeight: createNewProjectButton.height
leftPadding: searchIcon.width + UM.Theme.getSize("default_margin").width * 2
focus: true
onTextEdited: manager.projectFilter = text //Update the search filter when editing this text field.