diff options
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index d5d85e3a6..489e6b42d 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -510,12 +510,7 @@ Kirigami.ScrollablePage { text: qsTr("Filter dives") onTriggered: { rootItem.filterToggle = !rootItem.filterToggle - if (rootItem.filterToggle) { - diveModel.setFilter(rootItem.filterPattern) - } else { - diveModel.resetFilter() - rootItem.filterPattern = "" - } + diveModel.resetFilter() } } |