mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add cylinder data to cylinder model as we record each dive
This way the cylinder model list will contain all the different cylinders that we have ever seen, rather than only containing the models that we have *edited*. That makes it much more practical to add new dives with the same cylinders that we've used before, because now those cylinders will show up as cylinder models even if we haven't looked and edited the old dives first. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
567c945714
commit
f9cb526c96
3 changed files with 53 additions and 15 deletions
1
dive.h
1
dive.h
|
@ -259,6 +259,7 @@ extern void run_ui(void);
|
|||
|
||||
extern void report_error(GError* error);
|
||||
|
||||
extern void add_cylinder_description(cylinder_type_t *);
|
||||
extern void dive_list_update_dives(void);
|
||||
extern void flush_divelist(struct dive *dive);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue