summaryrefslogtreecommitdiffstats
path: root/qt-ui/globe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/globe.cpp')
-rw-r--r--qt-ui/globe.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp
index ea0c0f231..5c4bbde6a 100644
--- a/qt-ui/globe.cpp
+++ b/qt-ui/globe.cpp
@@ -231,6 +231,7 @@ void GlobeGPS::repopulateLabels()
}
}
model()->treeModel()->addDocument(loadedDives);
+ centerOn(displayed_dive_site.longitude.udeg / 1000000.0, displayed_dive_site.latitude.udeg / 1000000.0, true);
}
void GlobeGPS::reload()