mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Embed the information whether a dive is hidden by a filter in the dive
This way other parts of the code can act on the "hidden_by_filter" state. This also cleans up the way we track if a dive is hidden - do it in the multi filter instead of the individual filters. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d5ffc16c36
commit
19ca90f1a0
3 changed files with 70 additions and 47 deletions
3
dive.h
3
dive.h
|
|
@ -306,7 +306,8 @@ struct dive {
|
|||
tripflag_t tripflag;
|
||||
dive_trip_t *divetrip;
|
||||
struct dive *next, **pprev;
|
||||
int selected;
|
||||
bool selected;
|
||||
bool hidden_by_filter;
|
||||
bool downloaded;
|
||||
timestamp_t when;
|
||||
char *location;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue