mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile/dive-list: show/hide virtual keyboard as needed for filter
This should happen automatically, but for some reason it doesn't. So let's try to force it manually. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ccb671685d
commit
cbf1f35d63
1 changed files with 4 additions and 0 deletions
|
@ -473,6 +473,10 @@ Kirigami.ScrollablePage {
|
|||
onTriggered: {
|
||||
rootItem.filterToggle = !rootItem.filterToggle
|
||||
manager.setFilter("", 0)
|
||||
if (rootItem.filterToggle)
|
||||
Qt.inputMethod.show()
|
||||
else
|
||||
Qt.inputMethod.hide()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue