aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop-widgets/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index b19062612..2a215b1b7 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -408,10 +408,10 @@ void MainWindow::refreshDisplay(bool doRecreateDiveList)
{
mainTab->reload();
TankInfoModel::instance()->update();
- MapWidget::instance()->reload();
if (doRecreateDiveList)
recreateDiveList();
+ MapWidget::instance()->reload();
setApplicationState(ApplicationState::Default);
diveList->setEnabled(true);
diveList->setFocus();