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-05-23 07:59:00 +0200 |
commit | c48253af15badc7a81db7ea2f22465405a897110 (patch) | |
tree | 4b965d34c8f4a324db3995aaf12a1bd4f63fd204 /knotes/knote.cpp | |
parent | 8393060adc174ec54dda9836e2b9ff6558a8b34d (diff) | |
download | tdepim-c48253af15badc7a81db7ea2f22465405a897110.tar.gz tdepim-c48253af15badc7a81db7ea2f22465405a897110.zip |
Fix knotes to not close notes during saving session.
This closes Bug 987
Diffstat (limited to 'knotes/knote.cpp')
-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 08c24b8ec..e68c8ca29 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(); } |