From e7a82fbad169345e26a5c10a8444810fa05ef567 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 10 Jul 2022 17:40:46 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/5389 --- app/src/util/globalShortcut.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/util/globalShortcut.ts b/app/src/util/globalShortcut.ts index e2f5d2b21..cc79d929d 100644 --- a/app/src/util/globalShortcut.ts +++ b/app/src/util/globalShortcut.ts @@ -801,6 +801,7 @@ const fileTreeKeydown = (event: KeyboardEvent) => { files.selectItem(tab.model.editor.protyle.notebookId, tab.model.editor.protyle.path); } } + dockFile.toggleModel("file", true); return; } if (!files.element.previousElementSibling.classList.contains("block__icons--active")) {