summaryrefslogtreecommitdiffstats
path: root/core/divesite.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/divesite.c')
-rw-r--r--core/divesite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/divesite.c b/core/divesite.c
index 3d5547905..e4ba71abb 100644
--- a/core/divesite.c
+++ b/core/divesite.c
@@ -336,6 +336,7 @@ void merge_dive_sites(uint32_t ref, uint32_t* uuids, int count)
if (d->dive_site_uuid != uuids[i] )
continue;
d->dive_site_uuid = ref;
+ invalidate_dive_cache(d);
}
}