mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
@@ -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;
|
||||
|
Reference in New Issue
Block a user