Fix item view refresh in comments / discussions.
This commit is contained in:
parent
67fa4372aa
commit
cb1041a289
1 changed files with 1 additions and 1 deletions
|
|
@ -3763,7 +3763,7 @@ void ListWidget::refreshItem(not_null<const Element*> view) {
|
||||||
}();
|
}();
|
||||||
const auto [i, ok] = _views.emplace(
|
const auto [i, ok] = _views.emplace(
|
||||||
item,
|
item,
|
||||||
item->createView(this));
|
item->createView(this, was.get()));
|
||||||
const auto now = i->second.get();
|
const auto now = i->second.get();
|
||||||
_items[index] = now;
|
_items[index] = now;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue