[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/libs/kofficecore
From:       Stefan Nikolaus <nikolaus4 () googlemail ! com>
Date:       2007-04-29 14:57:13
Message-ID: 1177858633.188021.32101.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 659136 by nikolaus:

Don't close, if the user hits 'Cancel'.


 M  +2 -0      KoMainWindow.cpp  


--- trunk/koffice/libs/kofficecore/KoMainWindow.cpp #659135:659136
@@ -1035,6 +1035,8 @@
         setRootDocument(0L);
         KParts::MainWindow::closeEvent(e);
     }
+    else
+        e->setAccepted( false );
 }
 
 void KoMainWindow::saveWindowSettings()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic