[Kst] branches/work/kst/portto4/kst/src/libkstapp

Mike Fenton mike at staikos.net
Tue Feb 3 18:07:55 CET 2009


SVN commit 920711 by fenton:

Fix cancel on exit option still exiting.


 M  +1 -0      mainwindow.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/mainwindow.cpp #920710:920711
@@ -160,6 +160,7 @@
 
 void MainWindow::closeEvent(QCloseEvent *e) {
   if (_doc->isChanged() && !promptSave()) {
+    e->ignore();
     return;
   }
   cleanup();


More information about the Kst mailing list