[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:
Frans de Jonge
2019-06-09 15:40:21 +02:00
committed by GitHub
parent efe2db4406
commit e261d95218

View File

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