summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index e4569911b..78868e683 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -86,8 +86,8 @@ void MainWindow::current_dive_changed(int divenr)
if (divenr >= 0) {
select_dive(divenr);
ui.globe->centerOn(get_dive(selected_dive));
- redrawProfile();
}
+ redrawProfile();
ui.InfoWidget->updateDiveInfo(divenr);
}