Fix knotes to not close notes during saving session.

This closes Bug 987
pull/21/head
Slávek Banko 12 years ago
parent 8393060adc
commit c48253af15

@ -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