diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2011-10-23 08:50:14 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2011-10-23 09:09:00 -0700 |
commit | b091916249c940666b249d253f082ef5dad75411 (patch) | |
tree | 1f17f715b5f2e119e0c9225dc2b14257dc3533bc /main.c | |
parent | 86fdd83e7b9cc661940470c7b7d83316b223f572 (diff) | |
download | subsurface-b091916249c940666b249d253f082ef5dad75411.tar.gz |
Show dive number in dive list
Make sure that renumbering the divelist correctly shows up on the display.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -203,6 +203,7 @@ void renumber_dives(int nr) for (i = 0; i < dive_table.nr; i++) { struct dive *dive = dive_table.dives[i]; dive->number = nr + i; + flush_divelist(dive); } mark_divelist_changed(TRUE); } |