diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-12-10 10:12:58 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-10 18:45:30 -0800 |
commit | 37b24857ed6a95c7017e443adc88fa8c4dea0c1a (patch) | |
tree | 6355714902a5dd3f1c5ae4297b440f5f2cffc2d7 | |
parent | f5d480711a3eb9a785e8e4b9bd65f19a8fd09cea (diff) | |
download | subsurface-37b24857ed6a95c7017e443adc88fa8c4dea0c1a.tar.gz |
Filter: correctly send changed signals in list mode
The DiveTripModelList forgot to collect the changed dives
when resetting the filter. Fix that.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r-- | qt-models/divetripmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/divetripmodel.cpp b/qt-models/divetripmodel.cpp index 5c53d8ff8..b76683175 100644 --- a/qt-models/divetripmodel.cpp +++ b/qt-models/divetripmodel.cpp @@ -1347,7 +1347,7 @@ void DiveTripModelList::filterReset() for (dive *d: items) { bool shown = filter->showDive(d); - filter_dive(d, shown); + changed.push_back(filter_dive(d, shown)); } } |