2
0
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:
Frans de Jonge 2019-06-09 15:40:21 +02:00 committed by GitHub
parent efe2db4406
commit e261d95218
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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