mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-28 13:08:56 +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) {
|
if (!_postsSearch) {
|
||||||
setupPostsSearch();
|
setupPostsSearch();
|
||||||
}
|
}
|
||||||
|
if (!query.isEmpty()) {
|
||||||
|
_persist = true;
|
||||||
|
}
|
||||||
_searchQuery = query;
|
_searchQuery = query;
|
||||||
_searchQueryTimer.cancel();
|
_searchQueryTimer.cancel();
|
||||||
_postsSearch->setQuery(query);
|
_postsSearch->setQuery(query);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user