mobile/dive-list: try to force focus on filter text field
This was triggered by a change in enabled, but what is really changing is the visible property. This should work better. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1549d6f528
commit
7bddef02cd
@ -416,7 +416,7 @@ Kirigami.ScrollablePage {
|
||||
onAccepted: {
|
||||
manager.setFilter(text, sitefilterMode.currentIndex)
|
||||
}
|
||||
onEnabledChanged: {
|
||||
onVisibleChanged: {
|
||||
// reset the filter when it gets toggled
|
||||
text = ""
|
||||
if (visible) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user