aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 307dd13c1..0e98d9059 100644
--- a/main.c
+++ b/main.c
@@ -181,6 +181,7 @@ void report_dives(gboolean is_imported, gboolean prefer_imported)
add_single_dive(i, merged);
delete_single_dive(i+1);
delete_single_dive(i+1);
+ mark_divelist_changed(TRUE);
}
/* make sure no dives are still marked as downloaded */
for (i = 1; i < dive_table.nr; i++)
@@ -195,7 +196,6 @@ void report_dives(gboolean is_imported, gboolean prefer_imported)
if (preexisting != dive_table.nr)
mark_divelist_changed(TRUE);
}
- dive_table.preexisting = dive_table.nr;
dive_list_update_dives();
}