summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 4d96fa7c4..e9274129c 100644
--- a/main.c
+++ b/main.c
@@ -295,8 +295,8 @@ static void unit_dialog(GtkWidget *w, gpointer data)
result = gtk_dialog_run(GTK_DIALOG(dialog));
if (result == GTK_RESPONSE_ACCEPT) {
output_units = menu_units;
+ update_dive_list_units(&dive_list);
repaint_dive();
- dive_list_update_dives(dive_list);
}
gtk_widget_destroy(dialog);
}