mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
done: 'replay to all' button in 'messages' page now works
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1033 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
08357e3bdd
commit
6c00b15f03
3 changed files with 24 additions and 3 deletions
|
@ -232,6 +232,13 @@ void ChanMsgDialog::channelstreeViewCostumPopupMenu( QPoint point )
|
|||
|
||||
void ChanMsgDialog::closeEvent (QCloseEvent * event)
|
||||
{
|
||||
//=== uncheck all repecient's boxes =======
|
||||
QTreeWidget *sendWidget = ui.msgSendList;
|
||||
|
||||
for(int i=0;i<sendWidget->topLevelItemCount();++i)
|
||||
sendWidget->topLevelItem(i)->setCheckState(0,Qt::Unchecked) ;
|
||||
|
||||
|
||||
event->accept();
|
||||
return;
|
||||
|
||||
|
@ -597,8 +604,8 @@ void ChanMsgDialog::addRecipient(std::string id)
|
|||
for(int i=0;i<sendWidget->topLevelItemCount();++i)
|
||||
if(sendWidget->topLevelItem(i)->text(1).toStdString() == id)
|
||||
sendWidget->topLevelItem(i)->setCheckState(0,Qt::Checked) ;
|
||||
else
|
||||
sendWidget->topLevelItem(i)->setCheckState(0,Qt::Unchecked) ;
|
||||
//else
|
||||
//sendWidget->topLevelItem(i)->setCheckState(0,Qt::Unchecked) ;
|
||||
}
|
||||
|
||||
/* First the Msg (People) ones */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue