mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-18 01:54:25 -05:00
fixed update when expanding in boards
This commit is contained in:
parent
5261be8ad4
commit
e59ba49240
2 changed files with 8 additions and 3 deletions
|
|
@ -175,7 +175,7 @@ void PostedPostDelegate::expandItem(RsGxsMessageId msgId,bool expanded)
|
|||
else
|
||||
mExpandedItems.erase(msgId);
|
||||
|
||||
mPostListWidget->forceRedraw();
|
||||
mPostListWidget->redraw();
|
||||
}
|
||||
|
||||
uint8_t PostedPostDelegate::displayFlags(const RsGxsMessageId &id) const
|
||||
|
|
@ -659,7 +659,11 @@ void PostedListWidgetWithModel::forceRedraw()
|
|||
if(mPostedPostsModel)
|
||||
mPostedPostsModel->deepUpdate();
|
||||
}
|
||||
|
||||
void PostedListWidgetWithModel::redraw()
|
||||
{
|
||||
if(mPostedPostsModel)
|
||||
mPostedPostsModel->triggerRedraw();
|
||||
}
|
||||
void PostedListWidgetWithModel::updateDisplay(bool complete)
|
||||
{
|
||||
#ifdef DEBUG_CHANNEL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue