mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 00:55:12 +00:00
Fixed Escape shortcut for opened archived forums.
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user