diff options
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 183143aff..8628ca558 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -145,6 +145,7 @@ void MainWindow::on_actionClose_triggered() while (dive_table.nr) delete_single_dive(0); + dive_list()->selectedTrips.clear(); /* clear the selection and the statistics */ selected_dive = -1; |