summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-05 20:39:55 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-05 20:39:55 -0700
commit3cb360b51484f3416289aa52c09d60d87df60027 (patch)
treed0e458c9ff0c7ae4a75561a81b0e30c59f3ac29e /main.c
parentc24fd4b82cf4476c6d9c863ee03f2d729b64e5f0 (diff)
downloadsubsurface-3cb360b51484f3416289aa52c09d60d87df60027.tar.gz
Update dive info and profile after loading files
We did this when loading from the command line, but not when loading through the file load menu item. Reported-by: Dirk Hohndel <dirk@hohndel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 14c4f26fe..df966a7e8 100644
--- a/main.c
+++ b/main.c
@@ -166,6 +166,7 @@ static void file_open(GtkWidget *w, gpointer data)
}
g_slist_free(filenames);
report_dives();
+ repaint_dive();
dive_list_update_dives(dive_list);
}
gtk_widget_destroy(dialog);