summaryrefslogtreecommitdiffstats
path: root/info-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'info-gtk.c')
-rw-r--r--info-gtk.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/info-gtk.c b/info-gtk.c
index 61ed1c3b6..4ba9058cf 100644
--- a/info-gtk.c
+++ b/info-gtk.c
@@ -796,6 +796,14 @@ int edit_multi_dive_info(struct dive *single_dive)
return success;
}
+int edit_dive_info(struct dive *dive, gboolean newdive)
+{
+ if (!dive || (!newdive && !amount_selected))
+ return 0;
+
+ return edit_multi_dive_info(dive);
+}
+
static GtkWidget *frame_box(GtkWidget *vbox, const char *fmt, ...)
{
va_list ap;