2
0
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:
John Preston 2025-08-01 17:44:42 +04:00
parent 88d9fd42c4
commit 2ccdcf8a92

View File

@ -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);