mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Fix a crash in chats filter results.
This commit is contained in:
parent
a8c230aba3
commit
e26dd4e418
1 changed files with 1 additions and 0 deletions
|
@ -2320,6 +2320,7 @@ void InnerWidget::appendToFiltered(Key key) {
|
|||
}
|
||||
}
|
||||
auto row = std::make_unique<Row>(key, 0, 0);
|
||||
row->recountHeight(_narrowRatio);
|
||||
const auto [i, ok] = _filterResultsGlobal.emplace(key, std::move(row));
|
||||
const auto height = filteredHeight();
|
||||
_filterResults.emplace_back(i->second.get());
|
||||
|
|
Loading…
Add table
Reference in a new issue