mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:13:25 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -416,7 +416,7 @@ Kirigami.ScrollablePage {
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
manager.setFilter(text, sitefilterMode.currentIndex)
|
manager.setFilter(text, sitefilterMode.currentIndex)
|
||||||
}
|
}
|
||||||
onEnabledChanged: {
|
onVisibleChanged: {
|
||||||
// reset the filter when it gets toggled
|
// reset the filter when it gets toggled
|
||||||
text = ""
|
text = ""
|
||||||
if (visible) {
|
if (visible) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue