diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-09-15 17:49:29 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-09-17 21:03:30 -0400 |
commit | cc42debb8881e3e663defdcae2529ef9a62fbd6b (patch) | |
tree | 2324fb429497abe8f98d057181f92011f9caf10d | |
parent | eddea0e5e3f8cdf29cd71e1b90c22ec0f511697c (diff) | |
download | subsurface-cc42debb8881e3e663defdcae2529ef9a62fbd6b.tar.gz |
Mark divelist unchanged after closing the datafile
This seems rather obvious - I'm surprised I didn't notice it earlier.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | gtk-gui.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -252,6 +252,7 @@ static void file_close(GtkWidget *w, gpointer data) free(get_dive(i)); dive_table.nr = 0; dive_table.preexisting = 0; + mark_divelist_changed(FALSE); /* inlined version of g_list_free_full(dive_trip_list, free); */ g_list_foreach(dive_trip_list, (GFunc)free, NULL); |