diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-02-01 00:19:03 +1100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-01 00:19:03 +1100 |
commit | b709dff23d94b93ffa484a7bfe46441ece79520f (patch) | |
tree | 380d57cb8a46ea842671b2061097de632181467c /gtk-gui.c | |
parent | 0f2fac265fb876de971a2849bec69c51161d7a74 (diff) | |
download | subsurface-b709dff23d94b93ffa484a7bfe46441ece79520f.tar.gz |
Clear yearly statistics when closing data file
Another oversight of what needed to be done when cleaning up the UI after
closing the data file.
Reported-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r-- | gtk-gui.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -249,6 +249,7 @@ static void file_close(GtkWidget *w, gpointer data) process_selected_dives(); clear_stats_widgets(); clear_events(); + show_dive_stats(NULL); /* clear the equipment page */ clear_equipment_widgets(); |