aboutsummaryrefslogtreecommitdiffstats
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 778811db5..4325df595 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -1354,6 +1354,7 @@ int get_dive_id_closest_to(timestamp_t when)
void clear_dive_file_data()
{
fulltext_unregister_all();
+ clear_selection();
while (dive_table.nr)
delete_single_dive(0);