1
0
Fork 0
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:
Dirk Hohndel 2020-03-29 12:27:09 -07:00
parent ccb671685d
commit cbf1f35d63

View file

@ -473,6 +473,10 @@ Kirigami.ScrollablePage {
onTriggered: {
rootItem.filterToggle = !rootItem.filterToggle
manager.setFilter("", 0)
if (rootItem.filterToggle)
Qt.inputMethod.show()
else
Qt.inputMethod.hide()
}
}