summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-13 12:38:56 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-13 14:27:35 -0800
commit32ad046f5681ad02e3f9842075447e880145267d (patch)
tree4679bac9d6f20acbecebb20a8a05a634534c1808 /dive.h
parent06e578424e272b1c500c2a9e79b4367465fb4ac8 (diff)
downloadsubsurface-32ad046f5681ad02e3f9842075447e880145267d.tar.gz
Allow editing of dive sites
And hook things up when double clicking the globe. The user experience isn't consistent with what we do on the main tab (i.e., no coloring of fields that are changed), but it seems to work. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 533a193b6..8247a5f50 100644
--- a/dive.h
+++ b/dive.h
@@ -474,6 +474,7 @@ struct dive_table {
extern struct dive_table dive_table;
extern struct dive displayed_dive;
+extern struct dive_site displayed_dive_site;
extern int selected_dive;
extern unsigned int dc_number;
#define current_dive (get_dive(selected_dive))