Don't steal focus in panel search field
(cherry picked from commit 807112fb19)
This commit is contained in:
@@ -157,6 +157,16 @@ Kirigami.OverlayDrawer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Pane {
|
||||||
|
padding: Kirigami.Units.smallSpacing
|
||||||
|
implicitWidth: parent.width
|
||||||
|
z: 2
|
||||||
|
contentItem: Kirigami.SearchField {
|
||||||
|
id: userListSearchField
|
||||||
|
onAccepted: sortedMessageEventModel.filterString = text;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ScrollView {
|
ScrollView {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
@@ -168,16 +178,6 @@ Kirigami.OverlayDrawer {
|
|||||||
boundsBehavior: Flickable.DragOverBounds
|
boundsBehavior: Flickable.DragOverBounds
|
||||||
activeFocusOnTab: true
|
activeFocusOnTab: true
|
||||||
|
|
||||||
header: Pane {
|
|
||||||
padding: Kirigami.Units.smallSpacing
|
|
||||||
implicitWidth: parent.width
|
|
||||||
z: 2
|
|
||||||
contentItem: Kirigami.SearchField {
|
|
||||||
id: userListSearchField
|
|
||||||
onTextChanged: sortedMessageEventModel.filterString = text;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
model: KSortFilterProxyModel {
|
model: KSortFilterProxyModel {
|
||||||
id: sortedMessageEventModel
|
id: sortedMessageEventModel
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user