diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-02-13 22:44:05 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-13 22:45:31 -0800 |
commit | cd77e2e700da92fe0292320d5d4a82361104adfe (patch) | |
tree | 4f4a07ac444ee7578da52f8874c0a5917811bc7e /libdivecomputer.c | |
parent | e32459d3139e5f9815550fe3ebbc6bfff96d5d97 (diff) | |
download | subsurface-cd77e2e700da92fe0292320d5d4a82361104adfe.tar.gz |
Make sure there is a dive site if you try to edit it
If the user clicks on manage (or double clicks on the globe) and the
displayed_dive doesn't actually have a dive site associated with it (e.g.
because we are adding a dive or because it was imported or downloaded
without dive site information, then we need to make sure that there is an
empty dive site that we can make changes to.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.c')
0 files changed, 0 insertions, 0 deletions