Fixed Escape shortcut for opened archived forums.
This commit is contained in:
parent
9276f3dab8
commit
c320917069
|
@ -1102,10 +1102,10 @@ void Widget::animationCallback() {
|
|||
|
||||
void Widget::escape() {
|
||||
if (!cancelSearch()) {
|
||||
if (controller()->openedFolder().current()) {
|
||||
controller()->closeFolder();
|
||||
} else if (controller()->openedForum().current()) {
|
||||
if (controller()->openedForum().current()) {
|
||||
controller()->closeForum();
|
||||
} else if (controller()->openedFolder().current()) {
|
||||
controller()->closeFolder();
|
||||
} else if (controller()->activeChatEntryCurrent().key) {
|
||||
controller()->content()->dialogsCancelled();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue