summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 9ef4fa0b4..e516d38c8 100644
--- a/main.c
+++ b/main.c
@@ -205,11 +205,13 @@ static void quit(GtkWidget *w, gpointer data)
static void imperial(GtkWidget *w, gpointer data)
{
output_units = IMPERIAL_units;
+ repaint_dive();
}
static void metric(GtkWidget *w, gpointer data)
{
output_units = SI_units;
+ repaint_dive();
}
static GtkActionEntry menu_items[] = {