Recompute hashes after saving

After saving the data files, we need to recompute and store the hashes
to make sure the updated contents is reflected.

Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
Lukas Fleischer 2017-09-08 20:53:17 +02:00
parent 380124c7a2
commit f69698569f

View File

@ -588,6 +588,9 @@ void io_save_cal(enum save_display display)
keys_wait_for_any_key(win[KEY].p);
}
io_compute_hash(path_apts, apts_sha1);
io_compute_hash(path_todo, todo_sha1);
io_mutex_unlock();
run_hook("post-save");
}