From: Linus Torvalds Date: Tue, 6 Sep 2011 03:39:55 +0000 (-0700) Subject: Update dive info and profile after loading files X-Git-Url: http://git.tdb.fi/?p=ext%2Fsubsurface.git;a=commitdiff_plain;h=3cb360b51484f3416289aa52c09d60d87df60027 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 Signed-off-by: Linus Torvalds --- diff --git a/main.c b/main.c index 14c4f26..df966a7 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);