Don't close filter by escape.

This commit is contained in:
John Preston 2020-03-20 17:14:49 +04:00
parent ab16e8e083
commit 1de9352f3a
1 changed files with 0 additions and 2 deletions

View File

@ -1592,8 +1592,6 @@ void Widget::keyPressEvent(QKeyEvent *e) {
if (e->key() == Qt::Key_Escape) {
if (_openedFolder) {
controller()->closeFolder();
} else if (_inner->filterId()) {
controller()->setActiveChatsFilter(0);
} else {
e->ignore();
}