From 1bacde5dad64dd39eea32f16516172b12bcfd9b8 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 6 Jun 2010 17:25:02 +0200 Subject: This should fix bug 240432 Thanks, pano :) CCBUG: 240432 --- src/mainwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 805f3d45..90a650cf 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1373,6 +1373,10 @@ void MainWindow::enableNetworkAnalysis(bool b) bool MainWindow::queryClose() { + // this should fux bug 240432 + if(Application::instance()->sessionSaving()) + return true; + if (m_view->count() > 1) { int answer = KMessageBox::questionYesNoCancel( -- cgit v1.2.1