diff options
Diffstat (limited to 'qt-ui/globe.cpp')
-rw-r--r-- | qt-ui/globe.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp index a0866e475..135f195a1 100644 --- a/qt-ui/globe.cpp +++ b/qt-ui/globe.cpp @@ -251,7 +251,8 @@ void GlobeGPS::reload() void GlobeGPS::centerOnDiveSite(struct dive_site *ds) { if (!dive_site_has_gps_location(ds)) { - zoomOutForNoGPS(); + // this is not intuitive and at times causes trouble - let's comment it out for now + // zoomOutForNoGPS(); return; } qreal longitude = ds->longitude.udeg / 1000000.0; @@ -328,8 +329,9 @@ void GlobeGPS::prepareForGetDiveCoordinates() messageWidget->setCloseButtonVisible(false); messageWidget->animatedShow(); editingDiveLocation = true; - if (!dive_has_gps_location(current_dive)) - zoomOutForNoGPS(); + // this is not intuitive and at times causes trouble - let's comment it out for now + // if (!dive_has_gps_location(current_dive)) + // zoomOutForNoGPS(); } void GlobeGPS::changeDiveGeoPosition(qreal lon, qreal lat, GeoDataCoordinates::Unit unit) |