diff options
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 069d7b865..dbf3b9c73 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -65,7 +65,7 @@ void MainWindow::refreshDisplay() void MainWindow::current_dive_changed(int divenr) { - if (amount_selected && divenr >= 0) { + if (divenr >= 0) { select_dive(divenr); ui->globe->centerOn(get_dive(selected_dive)); redrawProfile(); |