diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-30 21:28:11 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-29 08:34:09 -0800 |
commit | e80c0d2c60e53071632095322845c32c80767f6f (patch) | |
tree | eb46dadc370569190b2b14a362678c5307f8ded4 /commands/command_divelist.cpp | |
parent | dea1ef84d50620d8030566d058c39d9d50f7c5df (diff) | |
download | subsurface-e80c0d2c60e53071632095322845c32c80767f6f.tar.gz |
filter: reset shown_dives in filter
The shown_dives variable was reset by the dive_list code. Arguably,
the filter should keep track of the number of shown dives, so move
the resetting there. This means adding a new "reset()" member function
to the filter and call that instead of "updateAll()" when the core
data is reset.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'commands/command_divelist.cpp')
0 files changed, 0 insertions, 0 deletions