diff options
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/mainwindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index f26c0f168..901a039f3 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -287,8 +287,11 @@ void MainWindow::closeCurrentFile() void MainWindow::on_actionClose_triggered() { - if (okToClose(tr("Please save or cancel the current dive edit before closing the file."))) + if (okToClose(tr("Please save or cancel the current dive edit before closing the file."))) { closeCurrentFile(); + ui.multiFilter->closeFilter(); + recreateDiveList(); + } } QString MainWindow::lastUsedDir() |