Add support for recently used directory (#718)

This commit is contained in:
木士羽 2019-03-08 00:38:32 +08:00 committed by Felix Häusler
parent cbd90bfeb4
commit 519f82451a

View File

@ -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 {