diff options
-rw-r--r-- | desktop-widgets/locationinformation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop-widgets/locationinformation.cpp b/desktop-widgets/locationinformation.cpp index 79710acb4..03ebbc9b4 100644 --- a/desktop-widgets/locationinformation.cpp +++ b/desktop-widgets/locationinformation.cpp @@ -133,6 +133,7 @@ void LocationInformationWidget::diveSiteChanged(struct dive_site *ds, int field) switch (field) { case LocationInformationModel::NAME: ui.diveSiteName->setText(diveSite->name); + MapWidget::instance()->repopulateLabels(); return; case LocationInformationModel::DESCRIPTION: ui.diveSiteDescription->setText(diveSite->description); @@ -153,6 +154,7 @@ void LocationInformationWidget::diveSiteChanged(struct dive_site *ds, int field) enableLocationButtons(false); ui.diveSiteCoordinates->clear(); } + MapWidget::instance()->repopulateLabels(); default: return; } |