summaryrefslogtreecommitdiffstats
path: root/core/divelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/divelist.c')
-rw-r--r--core/divelist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/divelist.c b/core/divelist.c
index 88cf5645d..d1d326209 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -891,6 +891,7 @@ void add_dive_to_trip(struct dive *dive, dive_trip_t *trip)
return;
remove_dive_from_trip(dive, false);
trip->nrdives++;
+ trip->showndives++;
dive->divetrip = trip;
dive->tripflag = ASSIGNED_TRIP;