From 41084817eaa30204c1144f5c1fd1b5567d486da8 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Fri, 21 Oct 2011 15:55:52 +0300 Subject: 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 --- equipment.c | 1 + 1 file changed, 1 insertion(+) (limited to 'equipment.c') 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); -- cgit v1.2.3-70-g09d2