mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 22:35:27 +00:00
Make sure to update dive info when it is edited
We used to not properly update the dive info until we switched to another dive when we edited it. This should fix it. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
698892329a
commit
99708bb40e
1 changed files with 1 additions and 1 deletions
2
info.c
2
info.c
|
@ -352,7 +352,7 @@ static void save_dive_info_changes(struct dive *dive, struct dive_info *info)
|
|||
|
||||
if (changed) {
|
||||
mark_divelist_changed(TRUE);
|
||||
flush_divelist(dive);
|
||||
update_dive(dive);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue