From 83c5ab58718e057472b63b97c94d52d3b1b9e83e Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 1 May 2014 13:42:54 -0300 Subject: [PATCH] Zoom out when dive has no coords. This patch makes the globe zoom out to show it complete when the dive has no coordinates. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/globe.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp index 961e0dbe5..b8a556a50 100644 --- a/qt-ui/globe.cpp +++ b/qt-ui/globe.cpp @@ -241,6 +241,9 @@ void GlobeGPS::prepareForGetDiveCoordinates() messageWidget->setWordWrap(true); messageWidget->animatedShow(); editingDiveLocation = true; + if(fixZoomTimer->isActive()) + fixZoomTimer->stop(); + setZoom(1200, Marble::Automatic); } }