mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
eddea0e5e3
commit
cc42debb88
1 changed files with 1 additions and 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);
|
||||
|
|
Loading…
Add table
Reference in a new issue