mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
[fix, plugins] Wallabag: close document on go to folder (#5063)
See https://github.com/koreader/koreader/issues/5060#issuecomment-499416617
This commit is contained in:
parent
efe2db4406
commit
e261d95218
@ -109,6 +109,9 @@ function Wallabag:addToMainMenu(menu_items)
|
||||
{
|
||||
text = _("Go to download folder"),
|
||||
callback = function()
|
||||
if self.ui.document then
|
||||
self.ui:onClose()
|
||||
end
|
||||
if FileManager.instance then
|
||||
FileManager.instance:reinit( self.directory )
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user