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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp
index 83b9464b4..8b3f140b7 100644
--- a/qt-ui/globe.cpp
+++ b/qt-ui/globe.cpp
@@ -185,11 +185,11 @@ void GlobeGPS::repopulateLabels()
void GlobeGPS::reload()
{
- if (editingDiveCoords) {
- editingDiveCoords = 0;
- if (messageWidget->isVisible())
- messageWidget->animatedHide();
- }
+ editingDiveCoords = 0;
+
+ if (messageWidget->isVisible())
+ messageWidget->animatedHide();
+
repopulateLabels();
}