summaryrefslogtreecommitdiffstats
path: root/planner.c
diff options
context:
space:
mode:
Diffstat (limited to 'planner.c')
-rw-r--r--planner.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/planner.c b/planner.c
index 71273b3a1..a707f7552 100644
--- a/planner.c
+++ b/planner.c
@@ -699,9 +699,11 @@ void plan(struct diveplan *diveplan, char **cached_datap, struct dive **divep, c
stopidx--;
}
add_plan_to_notes(diveplan, dive);
+#if USE_GTK_UI
/* now make the dive visible in the dive list */
report_dives(FALSE, FALSE);
show_and_select_dive(dive);
+#endif
error_exit:
free(stoplevels);
free(gaschanges);