From ca484c5029650c781b24279258215f8e351c2355 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 3 Sep 2019 08:30:43 +0200 Subject: Map: remove MapWidget::repopulateLabels() call For historic reasons MapWidget::repopulateLabels() was called in LocationInformationWidget::acceptChanges(). This should not be necessary anymore, as this is done when entering/exiting dive-site-mode. Signed-off-by: Berthold Stoeger --- desktop-widgets/locationinformation.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/desktop-widgets/locationinformation.cpp b/desktop-widgets/locationinformation.cpp index 19e708ff7..a210ddf44 100644 --- a/desktop-widgets/locationinformation.cpp +++ b/desktop-widgets/locationinformation.cpp @@ -183,7 +183,6 @@ void LocationInformationWidget::acceptChanges() MainWindow::instance()->diveList->setEnabled(true); MainWindow::instance()->setEnabledToolbar(true); MainWindow::instance()->setApplicationState(ApplicationState::Default); - MapWidget::instance()->repopulateLabels(); MultiFilterSortModel::instance()->stopFilterDiveSites(); } -- cgit v1.2.3-70-g09d2