Revert "Toggle search focus by escape."

This reverts commit 72d5a9b3e0.
This commit is contained in:
John Preston 2024-05-01 13:31:58 +04:00
parent 3170a45158
commit b3eb1dbc14

View file

@ -1795,8 +1795,6 @@ void Widget::escape() {
const auto first = list.empty() ? FilterId() : list.front().id();
if (controller()->activeChatsFilterCurrent() != first) {
controller()->setActiveChatsFilter(first);
} else {
_search->setFocus();
}
}
} else if (!_searchInChat