From 804b22dcd9dd5beb316640997fa559929fdb5d2a Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sat, 17 Nov 2012 12:52:33 -0800 Subject: Mark divelist changed as we download dives from a dive computer "record_dive()" won't do that, since otherwise we'd mark the dive list changed when we load it from an XML file. Signed-off-by: Linus Torvalds Signed-off-by: Dirk Hohndel --- libdivecomputer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libdivecomputer.c b/libdivecomputer.c index f0c3c7549..c4614812d 100644 --- a/libdivecomputer.c +++ b/libdivecomputer.c @@ -316,6 +316,7 @@ static int dive_cb(const unsigned char *data, unsigned int size, dive->downloaded = TRUE; record_dive(dive); + mark_divelist_changed(TRUE); return 1; } -- cgit v1.2.3-70-g09d2