diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-06 09:58:27 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-06 09:58:27 -0700 |
commit | 217c82f6c4207a5afe086d15edb29db59e523575 (patch) | |
tree | 121243b5fa57b210adda03a53e4db840fc781228 /xslt | |
parent | 223d99f79f3b80bc45a6abc6d510f9250a181363 (diff) | |
download | subsurface-217c82f6c4207a5afe086d15edb29db59e523575.tar.gz |
Change EDIT_SELECTED_DIVES macro
The way this is implemented is broken in several ways.
This fixes the first issue.
For the invocations where we are in the 'WHAT' checking to see if the
value we are changing in the selected dive was previously the same as in
the current dive (which is the one shown to the user for editing), then we
need to make sure we change the current dive last, otherwise the
comparison will fail.
Of course, right now we only do this check for gps location, which is a
massive bug as far as I am concerned.
Fixes #515
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt')
0 files changed, 0 insertions, 0 deletions