diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-09-20 14:48:15 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-09-20 18:23:57 -0700 |
commit | f42dee8ac2e40e02ffd2b177f7d97e1b4ba8acea (patch) | |
tree | 70ac647cdd10f921562c674e1fc3e33398d2e21b /CHANGELOG.md | |
parent | 43390d4a9aa1a6c78e36ae2dd32e8421f9060c92 (diff) | |
download | subsurface-f42dee8ac2e40e02ffd2b177f7d97e1b4ba8acea.tar.gz |
selection: when changing current dive make sure it is selected
When an undo command selected invisible dives, a current dive outside
of the list of selected dives was chosen. This could have the very
unfortunate effect that the current dive was set, though not selected.
From an UI point of view this meant that the dive was displayed, but
edits would not be registered.
Change the setClosestCurrentDive function to select the current dive.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e2dce6425..70f19c881 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -- update filter status when loading file [#2961] + --- * Always add new entries at the very top of this file above other existing entries and this note. |