mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 15:45:04 -04:00
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:
parent
e07783ac2b
commit
1c73d22eef
5 changed files with 59 additions and 4 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue