mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-22 00:57:09 +02:00
Don't close filter by escape.
This commit is contained in:
parent
ab16e8e083
commit
1de9352f3a
1 changed files with 0 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue