Fix search in chat close by "Cancel" link.

This commit is contained in:
John Preston 2024-06-01 10:52:48 +04:00
parent 3ba1941808
commit bb43afdd93

View file

@ -347,6 +347,7 @@ Widget::Widget(
}, lifetime()); }, lifetime());
_inner->cancelSearchRequests( _inner->cancelSearchRequests(
) | rpl::start_with_next([=] { ) | rpl::start_with_next([=] {
setInnerFocus(true);
applySearchState({}); applySearchState({});
}, lifetime()); }, lifetime());
_inner->chosenRow( _inner->chosenRow(