mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Oops. Fix 'buffered dive' information
When fixing the unit changes, I broke the dive buffering logic entirely for switching between dives. Duh. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
0282d515db
commit
add58148bc
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -98,12 +98,12 @@ void update_dive(struct dive *new_dive)
|
|||
if (old_dive) {
|
||||
flush_dive_info_changes(old_dive);
|
||||
flush_dive_equipment_changes(old_dive);
|
||||
buffered_dive = new_dive;
|
||||
}
|
||||
if (new_dive) {
|
||||
show_dive_info(new_dive);
|
||||
show_dive_equipment(new_dive);
|
||||
}
|
||||
buffered_dive = new_dive;
|
||||
}
|
||||
|
||||
void repaint_dive(void)
|
||||
|
|
Loading…
Add table
Reference in a new issue