aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-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 66bebc6c7..90b2406cb 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -298,6 +298,7 @@ void MainWindow::on_actionYearlyStatistics_triggered()
view->setModel(model);
view->setWindowModality(Qt::NonModal);
view->setMinimumWidth(600);
+ view->setAttribute(Qt::WA_QuitOnClose, false);
view->show();
}