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 12 years ago
parent 097fc893cb
commit bfc5ca6c3f

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

Loading…
Cancel
Save