Added check to catch <return> to ChatDialog and PopupChatDialog.

Removed Save Check on ChanMsgDialog.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@451 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2008-03-31 21:02:12 +00:00
parent e07783ac2b
commit 1c73d22eef
5 changed files with 59 additions and 4 deletions

View file

@ -232,6 +232,14 @@ void ChanMsgDialog::channelstreeViewCostumPopupMenu( QPoint point )
void ChanMsgDialog::closeEvent (QCloseEvent * event)
{
event->accept();
return;
/* We can save to Drafts.... but we'll do this later.
* ... no auto saving for the moment,
*/
#if 0
if (maybeSave())
{
event->accept();
@ -243,7 +251,9 @@ void ChanMsgDialog::closeEvent (QCloseEvent * event)
RshareSettings config;
config.saveWidgetInformation(this);
}
}
#endif
}
void ChanMsgDialog::deletechannel()