From 41084817eaa30204c1144f5c1fd1b5567d486da8 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Fri, 21 Oct 2011 15:55:52 +0300 Subject: [PATCH] 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(+) diff --git a/equipment.c b/equipment.c index 4f5a703..4d90741 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); -- 2.45.2