summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-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 ecc04a58c..7bf1ce6ec 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -130,8 +130,8 @@ void MainWindow::refreshDisplay(bool doRecreateDiveList)
ui.globe->reload();
if (doRecreateDiveList)
recreateDiveList();
- ui.ListWidget->setFocus();
ui.ListWidget->setEnabled(true);
+ ui.ListWidget->setFocus();
WSInfoModel::instance()->updateInfo();
// refresh the yearly stats if the window has an instance
if (yearlyStats) {