diff --git a/src/main/window.js b/src/main/window.js index 580d9eda..017789f8 100644 --- a/src/main/window.js +++ b/src/main/window.js @@ -130,6 +130,7 @@ class AppWindow { .catch(log) // open directory / folder } else if (pathname && isDirectory(pathname)) { + appMenu.addRecentlyUsedDocument(pathname) this.openFolder(win, pathname) // open a window but do not open a file or directory } else {