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

reviewable/pr6127/r1
mwoz123 4 years ago committed by GitHub
parent 0edfc4e150
commit d5bc235270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save