mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Core: introduce invalid flag for dives
Implement reading/writing the flag from/to XML/git. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
ef821d7d94
commit
329641fdcd
5 changed files with 14 additions and 1 deletions
|
@ -1381,6 +1381,8 @@ static void try_to_fill_dive(struct dive *dive, const char *name, char *buf, str
|
|||
return;
|
||||
if (MATCH_STATE("water.divetemperature", temperature, &dive->watertemp))
|
||||
return;
|
||||
if (MATCH("invalid", get_bool, &dive->invalid))
|
||||
return;
|
||||
|
||||
nonmatch("dive", name, buf);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue