From 99708bb40e2d0f0e1ddfa6ec56a192e3878d511b Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Tue, 24 Apr 2012 19:05:56 -0700 Subject: [PATCH] Make sure to update dive info when it is edited We used to not properly update the dive info until we switched to another dive when we edited it. This should fix it. Signed-off-by: Linus Torvalds --- info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/info.c b/info.c index f1afc05..813d58a 100644 --- a/info.c +++ b/info.c @@ -352,7 +352,7 @@ static void save_dive_info_changes(struct dive *dive, struct dive_info *info) if (changed) { mark_divelist_changed(TRUE); - flush_divelist(dive); + update_dive(dive); } } -- 2.45.2