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>
This commit is contained in:
Berthold Stoeger 2019-12-10 10:12:58 +01:00 committed by Dirk Hohndel
parent f5d480711a
commit 37b24857ed

View file

@ -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));
}
}