diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-03-29 12:27:09 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-30 09:16:55 -0700 |
commit | cbf1f35d63dd32e900e63aa70a276f9bc74b0a26 (patch) | |
tree | e8e8f545b7037dd0646f1357fd3a775e86c79012 /mobile-widgets | |
parent | ccb671685da56fd18f309a70e535be7f61c2eb57 (diff) | |
download | subsurface-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.qml | 4 |
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() } } |