Use all mails for the calculation of counts in MessagesDialog::updateMessageSummaryList, not just the current selected box

This commit is contained in:
thunder2 2024-11-16 15:47:08 +01:00
parent 3248a06134
commit 00241d6252

View File

@ -1296,7 +1296,7 @@ void MessagesDialog::updateMessageSummaryList()
/* calculating the new messages */
std::list<MsgInfoSummary> msgList;
rsMail->getMessageSummaries(mMessageModel->currentBox(),msgList);
rsMail->getMessageSummaries(Rs::Msgs::BoxName::BOX_ALL,msgList);
QMap<int, int> tagCount;