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 a5eaffe06..b1e670e31 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -7,6 +7,7 @@
#include "device.h"
#include "divesite.h"
#include "dive.h"
+#include "filterpreset.h"
#include "fulltext.h"
#include "planner.h"
#include "qthelper.h"
@@ -1376,6 +1377,7 @@ void clear_dive_file_data()
clear_dive(&displayed_dive);
clear_device_nodes();
clear_events();
+ clear_filter_presets();
reset_min_datafile_version();
clear_git_id();