aboutsummaryrefslogtreecommitdiffstats
path: root/equipment.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-10-21 15:55:52 +0300
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-10-21 15:55:52 +0300
commit41084817eaa30204c1144f5c1fd1b5567d486da8 (patch)
treee954ac6152030edfa7852ff4b302728b008f2543 /equipment.c
parentc39d1c61563e6a8b458432c91b057eac51dcabab (diff)
downloadsubsurface-41084817eaa30204c1144f5c1fd1b5567d486da8.tar.gz
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>
Diffstat (limited to 'equipment.c')
-rw-r--r--equipment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/equipment.c b/equipment.c
index 4f5a703c9..4d90741ac 100644
--- a/equipment.c
+++ b/equipment.c
@@ -522,6 +522,7 @@ static int edit_cylinder_dialog(int index, cylinder_t *cyl)
dive->cylinder[index] = *cyl;
mark_divelist_changed(TRUE);
flush_divelist(dive);
+ repaint_dive();
}
gtk_widget_destroy(dialog);