mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Simplistic first attempt to get changes saved when quitting subsurface
Track whether things changed in the global dive_list So far this actually works if changing dive info (but only if dive selected was changed after the dive info was changed). We are not tracking changes to the cylinder information, yet. also remove the duplicate static dive_list Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b4c4a29a11
commit
f459c2ec22
4 changed files with 73 additions and 12 deletions
|
|
@ -7,4 +7,6 @@ extern void dive_list_update_dives(void);
|
|||
extern void update_dive_list_units(void);
|
||||
extern void flush_divelist(struct dive *);
|
||||
|
||||
extern void mark_divelist_changed(int);
|
||||
extern int unsaved_changes(void);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue