subsurface/desktop-widgets/tab-widgets
Berthold Stoeger 68b5493c14 Edit: use correct offset when changing dive times
The undo-work reversed the direction of the offset. This was apparently
only fixed when using the menu entry, but not when editing dives directly.
Invert the offset to get the correct time.

While doing so, remove a redundant if: First it checked whether the
dates are the same, then whether the offset is non-zero.

Fixes #1975.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-02-18 12:57:13 -08:00
..
maintab.cpp Edit: use correct offset when changing dive times 2019-02-18 12:57:13 -08:00
maintab.h Cleanup: remove unused function MainTab::setCurrentLocationIndex 2019-02-02 19:35:36 +02:00
maintab.ui Cleanup: remove ReverseGeoLookupThread 2018-10-11 16:25:02 -07:00
TabBase.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabBase.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveExtraInfo.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveExtraInfo.h Cleanup: reinstate override modifiers 2018-09-29 15:23:25 -07:00
TabDiveExtraInfo.ui Break down MainTab into smaller classes 2017-04-06 18:23:25 -07:00
TabDiveInformation.cpp Dive information: fix surface interval calculation 2018-10-07 05:41:48 +03:00
TabDiveInformation.h Cleanup: reinstate override modifiers 2018-09-29 15:23:25 -07:00
TabDiveInformation.ui Choose water presets from a qcombobox in planner, custom value possible 2018-03-02 08:38:22 -08:00
TabDivePhotos.cpp Cleanup: rename MainWindow member variables 2018-10-13 21:42:53 -04:00
TabDivePhotos.h Cleanup: reinstate override modifiers 2018-09-29 15:23:25 -07:00
TabDivePhotos.ui Implement different zoom levels for dive photos tab 2017-12-18 12:07:10 -08:00
TabDiveStatistics.cpp Show average max depth in statistics tab 2018-12-17 12:18:26 +01:00
TabDiveStatistics.h Cleanup: reinstate override modifiers 2018-09-29 15:23:25 -07:00
TabDiveStatistics.ui Show average max depth in statistics tab 2018-12-17 12:18:26 +01:00