diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2012-05-23 07:59:00 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 04:25:23 +0200 |
commit | bfc5ca6c3facc3799d90fa50075a069bd147bbdd (patch) | |
tree | 0f8ba355db373da7d41358abed3e760e39032920 | |
parent | 097fc893cb2536872baf25adf27d6f485418b116 (diff) | |
download | tdepim-bfc5ca6c3facc3799d90fa50075a069bd147bbdd.tar.gz tdepim-bfc5ca6c3facc3799d90fa50075a069bd147bbdd.zip |
Fix knotes to not close notes during saving session.
This closes Bug 987
(cherry picked from commit c48253af15badc7a81db7ea2f22465405a897110)
-rw-r--r-- | knotes/knote.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp index 9f037db4d..006c26e5f 100644 --- a/knotes/knote.cpp +++ b/knotes/knote.cpp @@ -1267,6 +1267,8 @@ void KNote::resizeEvent( TQResizeEvent *qre ) void KNote::closeEvent( TQCloseEvent *event ) { + if(kapp->sessionSaving()) + return; event->ignore(); //We don't want to close (and delete the widget). Just hide it slotClose(); } |