diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-11-11 22:59:04 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-12 14:07:07 -0800 |
commit | 0b318540318ffa62318f0d9b74c2b14306bd0d97 (patch) | |
tree | de4469dfe207955093c2e057b82012c956cc28f1 /divelist.h | |
parent | 71b6de05238907dfa602cd583c5904dd7e6cb8fc (diff) | |
download | subsurface-0b318540318ffa62318f0d9b74c2b14306bd0d97.tar.gz |
Deselect dives that are no longer shown as the dive list is filtered
This cleans up the way we ensure that all dives are handled as the dive
list is filtered.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divelist.h')
-rw-r--r-- | divelist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/divelist.h b/divelist.h index a24deea17..79e1f6cbc 100644 --- a/divelist.h +++ b/divelist.h @@ -32,6 +32,7 @@ extern void select_dive(int idx); extern void deselect_dive(int idx); extern void select_dives_in_trip(struct dive_trip *trip); extern void deselect_dives_in_trip(struct dive_trip *trip); +extern void filter_dive(struct dive *d, bool shown); extern void combine_trips(struct dive_trip *trip_a, struct dive_trip *trip_b); extern void find_new_trip_start_time(dive_trip_t *trip); extern struct dive *first_selected_dive(); |