diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-08-17 20:59:46 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-08-17 13:21:49 -0700 |
commit | f24fe107655acaed8a0765d70100d351e9e38706 (patch) | |
tree | 9bbb88229743782f8b58d36062a82dc4b4574eb0 /CHANGELOG.md | |
parent | 9ae2a8bf7a0896f8c55e9c9a87b2b48265be62d9 (diff) | |
download | subsurface-f24fe107655acaed8a0765d70100d351e9e38706.tar.gz |
core: fix dive renumbering logic on import
0249e12 split up the dive import logic in multiple steps. Thereby,
the one of the conditions for renumbering the imported dives (is
the last old dive numbered) got messed up: The first number of the
new dive was compared to the total number of old dives, which makes
no sense.
- Simply check for the number of the last existing dive (if any).
- Don't remember the number of old dives - the original table is
not modified anyway.
Fixes #2731
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index b6b7797db..9c83c63be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +core: fix renumbering of imported dives [#2731] mobile: fix editing tank information mobile: disable download button if no connection is selected mobile: fix incorrect time stamps on GPS track points created via location service |