summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/plannerSettings.ui
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-02-18 18:40:28 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-02-18 12:57:13 -0800
commit68b5493c14978b01e8cb29c1244aea0ce3a79833 (patch)
treebd5f71fba8e64485d6f3151d6038245e5ffc5416 /desktop-widgets/plannerSettings.ui
parent9d582c5512c261bbea5d6257375c291a06721950 (diff)
downloadsubsurface-68b5493c14978b01e8cb29c1244aea0ce3a79833.tar.gz
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>
Diffstat (limited to 'desktop-widgets/plannerSettings.ui')
0 files changed, 0 insertions, 0 deletions