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 <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Linus Torvalds 2012-11-17 12:52:33 -08:00 committed by Dirk Hohndel
parent a154d1ccdc
commit 804b22dcd9

View file

@ -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;
}