mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Repaint the dive after equipment changes
Those changes may have changed cylinder sizes and beginning/end pressures, so the dive profile and SAC rate may be different. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
c39d1c6156
commit
41084817ea
1 changed files with 1 additions and 0 deletions
|
|
@ -522,6 +522,7 @@ static int edit_cylinder_dialog(int index, cylinder_t *cyl)
|
||||||
dive->cylinder[index] = *cyl;
|
dive->cylinder[index] = *cyl;
|
||||||
mark_divelist_changed(TRUE);
|
mark_divelist_changed(TRUE);
|
||||||
flush_divelist(dive);
|
flush_divelist(dive);
|
||||||
|
repaint_dive();
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_widget_destroy(dialog);
|
gtk_widget_destroy(dialog);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue