Always close filemanger before open document (#3935)

* Always close filemanger before open document

* rev1
pull/3976/head
Robert 6 years ago committed by GitHub
parent b7f67ea8a8
commit 6a98dbaec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -491,6 +491,10 @@ function ReaderUI:doShowReader(file, provider)
UIManager:show(reader)
_running_instance = reader
local FileManager = require("apps/filemanager/filemanager")
if FileManager.instance then
FileManager.instance:onClose()
end
end
function ReaderUI:_getRunningInstance()

Loading…
Cancel
Save