[fix] CoverBrowser: fix calling upvalue crash in MosaicMenu (#10164)

Regression introduced in #10140.
reviewable/pr10149/r7
Frans de Jonge 1 year ago committed by GitHub
parent 03a9551565
commit 26dc43553b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -577,7 +577,7 @@ function MosaicMenuItem:update()
if DocSettings:hasSidecarFile(self.filepath) then
self.been_opened = true
self.menu:updateCache(self.filepath, nil, true, bookinfo.pages) -- create new cache entry if absent
_, percent_finished, status = unpack(self.menu.cover_info_cache[self.filepath])
dummy, percent_finished, status = unpack(self.menu.cover_info_cache[self.filepath])
end
self.percent_finished = percent_finished
self.status = status

Loading…
Cancel
Save