Fix knotes to not close notes during saving session.

This closes Bug 987
(cherry picked from commit c48253af15)
v3.5.13-sru
Slávek Banko 13 years ago
parent 097fc893cb
commit bfc5ca6c3f

@ -1267,6 +1267,8 @@ void KNote::resizeEvent( TQResizeEvent *qre )
void KNote::closeEvent( TQCloseEvent *event ) void KNote::closeEvent( TQCloseEvent *event )
{ {
if(kapp->sessionSaving())
return;
event->ignore(); //We don't want to close (and delete the widget). Just hide it event->ignore(); //We don't want to close (and delete the widget). Just hide it
slotClose(); slotClose();
} }

Loading…
Cancel
Save