From: Linus Torvalds Date: Fri, 21 Oct 2011 12:55:52 +0000 (+0300) Subject: Repaint the dive after equipment changes X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=41084817eaa30204c1144f5c1fd1b5567d486da8;p=ext%2Fsubsurface.git 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 --- 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);