diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2017-11-25 16:15:57 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-11-25 08:24:36 -0800 |
commit | dd2466f51899aae406dc8c13904787710f30ec1c (patch) | |
tree | 45a06a318509b0e1c7957ba09b4ca6ce0030de83 /dives/TestDiveDivingLog5.08.udcf | |
parent | 4da6a0a73261a34a71e8f95261769128c3c1df0b (diff) | |
download | subsurface-dd2466f51899aae406dc8c13904787710f30ec1c.tar.gz |
Update filters on refreshDisplay and remember old selecttions
Update the filters if the list of dives is updated by calling
MultiFilterSortModel::instance()->myInvalidate();
This had the side effect of clearing all selections. Thus, in
the repopulate() methods of the FilterModels, check those
entries that were checked previously. Since all the filter
models use the same code, introduce a base class FilterModelBase.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'dives/TestDiveDivingLog5.08.udcf')
0 files changed, 0 insertions, 0 deletions