summaryrefslogtreecommitdiffstats
path: root/core/selection.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/selection.h')
-rw-r--r--core/selection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/selection.h b/core/selection.h
index a390f0dd7..8fe5707ce 100644
--- a/core/selection.h
+++ b/core/selection.h
@@ -20,6 +20,7 @@ extern struct dive *first_selected_dive(void);
extern struct dive *last_selected_dive(void);
extern bool consecutive_selected(void);
extern void select_newest_visible_dive();
+extern void select_single_dive(struct dive *d); // wrapper for setSelection() with a single dive. NULL clears the selection.
#if DEBUG_SELECTION_TRACKING
extern void dump_selection(void);