mirror of
https://github.com/koreader/koreader
synced 2024-11-04 12:00:25 +00:00
BookInfo: fix crash on show cover (#10315)
This commit is contained in:
parent
5dd88535ba
commit
99265ba1b7
@ -252,7 +252,9 @@ function BookInfo:onShowBookCover(file)
|
||||
text = _("No cover image available."),
|
||||
})
|
||||
end
|
||||
document:close()
|
||||
if not self.document then
|
||||
document:close()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user