mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-22 10:17:10 +00:00
Fix bad closing of suggestions.
This commit is contained in:
parent
88d9fd42c4
commit
2ccdcf8a92
@ -1941,6 +1941,9 @@ void Suggestions::setPostsSearchQuery(const QString &query) {
|
||||
if (!_postsSearch) {
|
||||
setupPostsSearch();
|
||||
}
|
||||
if (!query.isEmpty()) {
|
||||
_persist = true;
|
||||
}
|
||||
_searchQuery = query;
|
||||
_searchQueryTimer.cancel();
|
||||
_postsSearch->setQuery(query);
|
||||
|
Loading…
x
Reference in New Issue
Block a user