|
|
@ -372,7 +372,8 @@ function ListMenuItem:update()
|
|
|
|
if DocSettings:hasSidecarFile(self.filepath) then
|
|
|
|
if DocSettings:hasSidecarFile(self.filepath) then
|
|
|
|
self.been_opened = true
|
|
|
|
self.been_opened = true
|
|
|
|
self.menu:updateCache(self.filepath, nil, true, pages) -- create new cache entry if absent
|
|
|
|
self.menu:updateCache(self.filepath, nil, true, pages) -- create new cache entry if absent
|
|
|
|
pages, percent_finished, status, has_highlight = unpack(self.menu.cover_info_cache[self.filepath])
|
|
|
|
pages, percent_finished, status, has_highlight =
|
|
|
|
|
|
|
|
unpack(self.menu.cover_info_cache[self.filepath], 1, self.menu.cover_info_cache[self.filepath].n)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
-- right widget, first line
|
|
|
|
-- right widget, first line
|
|
|
|
local directory, filename = util.splitFilePathName(self.filepath) -- luacheck: no unused
|
|
|
|
local directory, filename = util.splitFilePathName(self.filepath) -- luacheck: no unused
|
|
|
|