mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
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
1 changed files with 0 additions and 3 deletions
|
@ -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…
Reference in a new issue