Send2Ebook: close document on going to folder (#6118)

This commit is contained in:
mwoz123
2020-05-05 18:42:04 +02:00
committed by GitHub
parent 0edfc4e150
commit d5bc235270

View File

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