mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
Fix set Un/read choice in PopupMenu on messsage dialog.
This commit is contained in:
parent
d833049dce
commit
4b0f187b30
@ -484,10 +484,9 @@ int MessagesDialog::getSelectedMsgCount (QList<QModelIndex> *items, QList<QModel
|
||||
items->append(m);
|
||||
|
||||
if (m.data(RsMessageModel::UnreadRole).toBool())
|
||||
if (itemsUnread)
|
||||
itemsUnread->append(m);
|
||||
else if(itemsRead)
|
||||
itemsRead->append(m);
|
||||
{ if (itemsUnread) itemsUnread->append(m); }
|
||||
else
|
||||
{ if (itemsRead) itemsRead->append(m); }
|
||||
|
||||
if (itemsStar && m.data(RsMessageModel::MsgFlagsRole).toInt() & RS_MSG_STAR)
|
||||
itemsStar->append(m);
|
||||
|
Loading…
Reference in New Issue
Block a user