mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Send2Ebook: close document on going to folder (#6118)
This commit is contained in:
@@ -76,6 +76,9 @@ function Send2Ebook:addToMainMenu(menu_items)
|
||||
{
|
||||
text = _("Go to download folder"),
|
||||
callback = function()
|
||||
if self.ui.document then
|
||||
self.ui:onClose()
|
||||
end
|
||||
local FileManager = require("apps/filemanager/filemanager")
|
||||
if FileManager.instance then
|
||||
FileManager.instance:reinit(download_dir_path)
|
||||
|
||||
Reference in New Issue
Block a user