Globe: reset the view when called with no divesite
Returning here was simply wrong; we need to zoom out. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0afe07d021
commit
5fc31f6afc
@ -247,9 +247,6 @@ void GlobeGPS::reload()
|
||||
|
||||
void GlobeGPS::centerOnDiveSite(uint32_t uuid)
|
||||
{
|
||||
if (uuid == 0)
|
||||
return;
|
||||
|
||||
struct dive_site *ds = get_dive_site_by_uuid(uuid);
|
||||
|
||||
if (!dive_site_has_gps_location(ds)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user