summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/divelist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/divelist.c b/core/divelist.c
index 7712968ff..117791e52 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -1203,6 +1203,8 @@ void combine_trips(struct dive_trip *trip_a, struct dive_trip *trip_b)
void mark_divelist_changed(bool changed)
{
+ if (dive_list_changed == changed)
+ return;
dive_list_changed = changed;
updateWindowTitle();
}