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:
Dirk Hohndel 2015-06-26 20:23:33 -07:00
parent 0afe07d021
commit 5fc31f6afc

View file

@ -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)) {