Fix item view refresh in comments / discussions.

This commit is contained in:
John Preston 2023-04-22 23:04:47 +04:00
parent 67fa4372aa
commit cb1041a289
1 changed files with 1 additions and 1 deletions

View File

@ -3763,7 +3763,7 @@ void ListWidget::refreshItem(not_null<const Element*> view) {
}();
const auto [i, ok] = _views.emplace(
item,
item->createView(this));
item->createView(this, was.get()));
const auto now = i->second.get();
_items[index] = now;