diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-09-06 09:52:02 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-11 16:22:27 -0700 |
commit | 7150d1c6f61631079e7620901fd1939bbc54e621 (patch) | |
tree | f87e4bebdad98cffb7e1db7e675a1fc278e77b02 /profile-widget | |
parent | 11e0b7ac0a6db1a6f2d96ca4cb1f035f42181634 (diff) | |
download | subsurface-7150d1c6f61631079e7620901fd1939bbc54e621.tar.gz |
Filter: Make filters aware of added / removed dives
Instead of reloading all the filter, only increment / decrement the
count of the entries of added / removed dives.
Originally, this was planned to be done via the signals from the
divelist, but it turned out that this was suboptimal, because
if the filter decides that the new item is selected, this has to
be done *before* adding the dive. Otherwise, it wouldn't be shown.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget')
0 files changed, 0 insertions, 0 deletions