mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 15:13:57 +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 (e->key() == Qt::Key_Escape) {
|
||||||
if (_openedFolder) {
|
if (_openedFolder) {
|
||||||
controller()->closeFolder();
|
controller()->closeFolder();
|
||||||
} else if (_inner->filterId()) {
|
|
||||||
controller()->setActiveChatsFilter(0);
|
|
||||||
} else {
|
} else {
|
||||||
e->ignore();
|
e->ignore();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue