summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 20f463cf0..ccba66d70 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -651,6 +651,7 @@ void MainWindow::closeEvent(QCloseEvent *event)
}
event->accept();
writeSettings();
+ QApplication::closeAllWindows();
}
DiveListView *MainWindow::dive_list()