mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix possible crash in Forward folders switch.
This commit is contained in:
parent
a74ee911b3
commit
17181cee8f
1 changed files with 3 additions and 0 deletions
|
@ -1281,6 +1281,9 @@ void PeerListContent::clearAllContent() {
|
||||||
= _normalizedSearchQuery
|
= _normalizedSearchQuery
|
||||||
= _mentionHighlight
|
= _mentionHighlight
|
||||||
= QString();
|
= QString();
|
||||||
|
if (_controller->hasComplexSearch()) {
|
||||||
|
_controller->search(QString());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void PeerListContent::convertRowToSearchResult(not_null<PeerListRow*> row) {
|
void PeerListContent::convertRowToSearchResult(not_null<PeerListRow*> row) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue