summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-29 12:27:09 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-30 09:16:55 -0700
commitcbf1f35d63dd32e900e63aa70a276f9bc74b0a26 (patch)
treee8e8f545b7037dd0646f1357fd3a775e86c79012 /mobile-widgets
parentccb671685da56fd18f309a70e535be7f61c2eb57 (diff)
downloadsubsurface-cbf1f35d63dd32e900e63aa70a276f9bc74b0a26.tar.gz
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>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DiveList.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 731bbc8d1..4969b9d06 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -473,6 +473,10 @@ Kirigami.ScrollablePage {
onTriggered: {
rootItem.filterToggle = !rootItem.filterToggle
manager.setFilter("", 0)
+ if (rootItem.filterToggle)
+ Qt.inputMethod.show()
+ else
+ Qt.inputMethod.hide()
}
}