diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-05-08 21:35:49 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-05-11 12:06:19 -0700 |
commit | 0c387549164d7eec3ea6647c54ada2fba7f8d5e6 (patch) | |
tree | df8b9fe2c494f38ba6cd035c809e1bd89c66cedb /dives | |
parent | 29c6aea797f96e59eae621df3b35b4fd0f260e3f (diff) | |
download | subsurface-0c387549164d7eec3ea6647c54ada2fba7f8d5e6.tar.gz |
Map: construct list of dive sites from dive site table
Instead of looping over the dive table and extract dive sites,
loop over the dive site table.
This makes it possible to show dive sites that have no dive
associated with them.
But we have to create to functions that check whether a dive
site has any shown dives or has any selected dives.
Moreover, change the code to add near dive sites of the same
name if in edit mode. Other wise (erroneously added?) dive
sites with the same name cannot be moved on the map.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'dives')
0 files changed, 0 insertions, 0 deletions