mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-13 04:37:11 +02:00
parent
69d21f73ef
commit
374b3c68ac
1 changed files with 4 additions and 0 deletions
|
@ -3668,7 +3668,11 @@ bool Widget::cancelSearch(CancelSearchOptions options) {
|
|||
_inner->clearFilter();
|
||||
applySearchState(std::move(updatedState));
|
||||
if (_suggestions && clearSearchFocus) {
|
||||
const auto clearLockedFocus = !_searchHasFocus;
|
||||
setInnerFocus(true);
|
||||
if (clearLockedFocus) {
|
||||
processSearchFocusChange();
|
||||
}
|
||||
}
|
||||
updateForceDisplayWide();
|
||||
return clearingQuery || clearingInChat || clearSearchFocus;
|
||||
|
|
Loading…
Add table
Reference in a new issue