]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Update dive info and profile after loading files
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Sep 2011 03:39:55 +0000 (20:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Sep 2011 03:39:55 +0000 (20:39 -0700)
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>
main.c

diff --git a/main.c b/main.c
index 14c4f26fe2952e8a1ac4324584c86fac87edb18e..df966a7e8b2f9f8ad1d7220db8dc36d6528353fa 100644 (file)
--- 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);