summaryrefslogtreecommitdiffstats
path: root/core/divelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/divelist.c')
-rw-r--r--core/divelist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/divelist.c b/core/divelist.c
index 994170570..c53bcb983 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -3,6 +3,7 @@
#include "subsurface-string.h"
#include "deco.h"
+#include "device.h"
#include "divesite.h"
#include "divelist.h"
#include "fulltext.h"
@@ -1367,6 +1368,7 @@ void clear_dive_file_data()
}
clear_dive(&displayed_dive);
+ clear_device_nodes();
reset_min_datafile_version();
clear_git_id();