Clear server list highlight when field text edited
This commit is contained in:
parent
21462dc25f
commit
d3092c4929
|
@ -132,9 +132,12 @@ HBox {
|
||||||
)
|
)
|
||||||
placeholderText: "example.org"
|
placeholderText: "example.org"
|
||||||
|
|
||||||
onTextEdited: py.callCoro(
|
onTextEdited: {
|
||||||
|
py.callCoro(
|
||||||
"set_substring_filter", ["filtered_homeservers", text],
|
"set_substring_filter", ["filtered_homeservers", text],
|
||||||
)
|
)
|
||||||
|
serverList.currentIndex = -1
|
||||||
|
}
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user