mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Destroy boxes in Ui::hideLayer().
This commit is contained in:
@@ -1199,13 +1199,12 @@ void DialogsWidget::showSearchFrom() {
|
||||
Dialogs::ShowSearchFromBox(
|
||||
controller(),
|
||||
peer,
|
||||
crl::guard(this, [=](
|
||||
not_null<UserData*> user) {
|
||||
crl::guard(this, [=](not_null<UserData*> user) {
|
||||
Ui::hideLayer();
|
||||
setSearchInChat(chat, user);
|
||||
onFilterUpdate(true);
|
||||
}),
|
||||
crl::guard(this, [this] { _filter->setFocus(); }));
|
||||
crl::guard(this, [=] { _filter->setFocus(); }));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user