mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
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 <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
010a21fb1e
commit
83c5ab5871
1 changed files with 3 additions and 0 deletions
|
@ -241,6 +241,9 @@ void GlobeGPS::prepareForGetDiveCoordinates()
|
|||
messageWidget->setWordWrap(true);
|
||||
messageWidget->animatedShow();
|
||||
editingDiveLocation = true;
|
||||
if(fixZoomTimer->isActive())
|
||||
fixZoomTimer->stop();
|
||||
setZoom(1200, Marble::Automatic);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue