diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-19 16:41:56 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-19 16:41:56 -0700 |
commit | 87e8ff9c3e16e2786a9ba9d551e52cd8b9dd9728 (patch) | |
tree | d1f03a840246adae27d1e48e42e008d3dc2dbd8f /main.c | |
parent | dfacb5e124125e0e864509459d9ffef73495a3cd (diff) | |
download | subsurface-87e8ff9c3e16e2786a9ba9d551e52cd8b9dd9728.tar.gz |
Update the divelist when dive info changes
This flushes the dive changes to the dive list, the way the old dive
info frame would update as you update dive fields.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -98,6 +98,7 @@ void update_dive(struct dive *new_dive) if (old_dive) { flush_dive_info_changes(old_dive); flush_dive_equipment_changes(old_dive); + flush_divelist(&dive_list, old_dive); } if (new_dive) { show_dive_info(new_dive); |