mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:43:24 +00:00
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:
parent
a154d1ccdc
commit
804b22dcd9
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue