subsurface/map-widget
Berthold Stoeger 53c9d524ca Map: Use proper location for flag when editing dive site
When the dive site was not on the map because it had no dives,
entering dive site edit mode would place the map at the center
of the map, not at the location of the dive site.

Use the location of the dive site unless it has no location.
In that case use the map center.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-04-12 18:19:07 +03:00
..
qml Dive site: replace dive->dive_site_uuid by dive_site 2018-10-29 00:09:31 +00:00
qmlmapwidgethelper.cpp Map: Use proper location for flag when editing dive site 2019-04-12 18:19:07 +03:00
qmlmapwidgethelper.h Dive site: remove edit mode from dive location widget 2019-04-12 18:19:07 +03:00