mirror of https://github.com/procxx/kepka.git
Don't close filter by escape.
This commit is contained in:
parent
ab16e8e083
commit
1de9352f3a
|
@ -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…
Reference in New Issue