diff options
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 8b012da90..ff932d31b 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -140,6 +140,8 @@ void MainWindow::refreshDisplay(bool doRecreateDiveList) yearlyStatsModel = new YearlyStatisticsModel(); yearlyStats->setModel(yearlyStatsModel); } + if (amount_selected == 0) + cleanUpEmpty(); } void MainWindow::recreateDiveList() |