diff options
-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(); } |