diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-21 15:55:52 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-21 15:55:52 +0300 |
commit | 41084817eaa30204c1144f5c1fd1b5567d486da8 (patch) | |
tree | e954ac6152030edfa7852ff4b302728b008f2543 | |
parent | c39d1c61563e6a8b458432c91b057eac51dcabab (diff) | |
download | subsurface-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>
-rw-r--r-- | equipment.c | 1 |
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); |