aboutsummaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'divelist.c')
-rw-r--r--divelist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/divelist.c b/divelist.c
index 9034007b7..ad0c2e716 100644
--- a/divelist.c
+++ b/divelist.c
@@ -869,7 +869,8 @@ void select_dives_in_trip(struct dive_trip *trip)
if (!trip)
return;
for (dive = trip->dives; dive; dive = dive->next)
- select_dive(get_divenr(dive));
+ if (!dive->hidden_by_filter)
+ select_dive(get_divenr(dive));
}
/* This only gets called with non-NULL trips.