focus search box with keybind
This commit is contained in:
@@ -51,6 +51,11 @@ Item {
|
|||||||
implicitHeight: searchContainer.implicitHeight
|
implicitHeight: searchContainer.implicitHeight
|
||||||
implicitWidth: 200
|
implicitWidth: 200
|
||||||
|
|
||||||
|
Shortcut {
|
||||||
|
sequence: "/"
|
||||||
|
onActivated: searchField.forceActiveFocus()
|
||||||
|
}
|
||||||
|
|
||||||
Component.onCompleted: console.log(root.height)
|
Component.onCompleted: console.log(root.height)
|
||||||
|
|
||||||
ListModel {
|
ListModel {
|
||||||
|
|||||||
Reference in New Issue
Block a user