From f42dee8ac2e40e02ffd2b177f7d97e1b4ba8acea Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 20 Sep 2020 14:48:15 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- ReleaseNotes/ReleaseNotes.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ReleaseNotes') diff --git a/ReleaseNotes/ReleaseNotes.txt b/ReleaseNotes/ReleaseNotes.txt index 7a888ee1c..5ea95ae60 100644 --- a/ReleaseNotes/ReleaseNotes.txt +++ b/ReleaseNotes/ReleaseNotes.txt @@ -10,6 +10,8 @@ New in _Subsurface_ 4.9.7 - profile: improve resolution in printing and export - core: fix renumbering of imported dives [#2731] - core: fix broken merging of dives with multiple cylinders +- core: make sure current dive is always selected [#2961] +- core: update filter status when loading dive list [#2961] - bluetooth/rfcomm: fix broken classic BT downloads on Linux and Windows; macOS is still broken - media: read timestamp from mvhd atom of QuickTime/MP4 style videos - planner: properly initialize salinity -- cgit v1.2.3-70-g09d2