Send2Ebook: close document on going to folder (#6118)
This commit is contained in:
1 parent
0edfc4e150
commit
d5bc235270
1 file changed
+3
@@ -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