summaryrefslogtreecommitdiffstats
path: root/qt-ui/subsurfacewebservices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
-rw-r--r--qt-ui/subsurfacewebservices.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp
index cfd255b0e..fd9f2fad1 100644
--- a/qt-ui/subsurfacewebservices.cpp
+++ b/qt-ui/subsurfacewebservices.cpp
@@ -419,7 +419,7 @@ void SubsurfaceWebServices::buttonClicked(QAbstractButton *button)
// we can update the globe
if (changed) {
MainWindow::instance()->globe()->repopulateLabels();
- MainWindow::instance()->globe()->centerOnDiveSite(current_dive->dive_site_uuid);
+ MainWindow::instance()->globe()->centerOnDiveSite(get_dive_site_by_uuid(current_dive->dive_site_uuid));
}
#endif