Fix item view refresh in comments / discussions.
This commit is contained in:
parent
67fa4372aa
commit
cb1041a289
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue