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>
This commit is contained in:
Linus Torvalds 2011-09-05 20:39:55 -07:00
parent c24fd4b82c
commit 3cb360b514

1
main.c
View file

@ -166,6 +166,7 @@ static void file_open(GtkWidget *w, gpointer data)
} }
g_slist_free(filenames); g_slist_free(filenames);
report_dives(); report_dives();
repaint_dive();
dive_list_update_dives(dive_list); dive_list_update_dives(dive_list);
} }
gtk_widget_destroy(dialog); gtk_widget_destroy(dialog);