mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Mobile/filtering: update number of dives shown when resetting filter
Otherwise we start showing an illogical '0' there when first opening the filter dialog, and the equally wrong previous count when closing and then re-opening the filter dialog. Reported-by: Jan Mulder <jlmulder@xs4all.nl> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6248ddf529
commit
3eabb80398
1 changed files with 1 additions and 0 deletions
|
@ -499,6 +499,7 @@ Kirigami.ScrollablePage {
|
|||
onTriggered: {
|
||||
rootItem.filterToggle = !rootItem.filterToggle
|
||||
diveModel.resetFilter()
|
||||
numShownText = diveModel.shown()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue