[fix] ReaderUI Pass self in open with cancel callback (#4751)

I added a call to self in ReaderUI:showFileManager() in #4720, breaking this singular reference that wasn't passing self.

Reported on Gitter by @ptrm, see https://gitter.im/koreader/koreader?at=5c81465725e4e24c072f1a00
pull/4753/head
Frans de Jonge 5 years ago committed by GitHub
parent 52300ffb15
commit 511570f65d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -448,7 +448,7 @@ function ReaderUI:showReader(file, provider)
doc_settings:close()
self:showReaderCoroutine(file, provider)
end,
cancel_callback = self.showFileManager,
cancel_callback = function() self:showFileManager() end,
})
else
self:showReaderCoroutine(file, provider)

Loading…
Cancel
Save