diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-06-05 09:51:40 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-06-05 09:51:40 +0900 |
commit | ca1c112424d0ac7c6dda3ee80d3bf45348ead54a (patch) | |
tree | e346a1eaf232cc263fd91094e144618f823355aa /gps.c | |
parent | 87decaa798f028f8d534b399240b8b0611503da4 (diff) | |
download | subsurface-ca1c112424d0ac7c6dda3ee80d3bf45348ead54a.tar.gz |
Update the current dive when no dive was selected
The check to only update the dive if there were already dives selected
before seems bogus. I'm sure I put it there for a reason but it seems
flat out wrong.
This gets triggered when you select a trip by clicking on the trip
header. In that case all dives get unselected (amount_selected = 0) and
then we try to select the first dive in the trip - which fails because
of this check.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gps.c')
0 files changed, 0 insertions, 0 deletions