fix crash when marking many articles as read/unread
This commit is contained in:
parent
a9b0b1ef95
commit
c29c5ff4eb
1 changed files with 5 additions and 2 deletions
|
@ -1028,10 +1028,13 @@ bool ServiceRoot::onAfterSetMessagesRead(RootItem* selected_item,
|
|||
|
||||
for (const QString& lbl : lbls) {
|
||||
Label* l = labelsNode()->labelById(lbl);
|
||||
|
||||
if (l != nullptr) {
|
||||
l->updateCounts(false);
|
||||
to_update << l;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 5. Probes.
|
||||
m_probesNode->updateCounts(false);
|
||||
|
|
Loading…
Add table
Reference in a new issue