Grid view cover cache: Fix covers not loading when cache entries are stale

This commit is contained in:
Kovid Goyal 2024-03-17 10:05:54 +05:30
parent f95d35c68d
commit d84b1e2009
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -983,6 +983,7 @@ class GridView(QListView):
else: else:
# The cached cover is stale # The cached cover is stale
cache_valid = False cache_valid = False
cdata = tcdata
else: else:
# We found a cached cover for a book without a cover. This can # We found a cached cover for a book without a cover. This can
# happen in older version of calibre that can reuse book_ids # happen in older version of calibre that can reuse book_ids