diff --git a/plugins/coverbrowser.koplugin/listmenu.lua b/plugins/coverbrowser.koplugin/listmenu.lua index cf923eead..8d9084f3a 100644 --- a/plugins/coverbrowser.koplugin/listmenu.lua +++ b/plugins/coverbrowser.koplugin/listmenu.lua @@ -265,7 +265,7 @@ function ListMenuItem:update() local bookinfo = BookInfoManager:getBookInfo(self.filepath, self.do_cover_image) - if bookinfo and self.do_cover_image and not bookinfo.ignore_cover then + if bookinfo and self.do_cover_image and not bookinfo.ignore_cover and not self.file_deleted then if bookinfo.cover_fetched then if bookinfo.has_cover and not self.menu.no_refresh_covers then if BookInfoManager.isCachedCoverInvalid(bookinfo, cover_specs) then diff --git a/plugins/coverbrowser.koplugin/mosaicmenu.lua b/plugins/coverbrowser.koplugin/mosaicmenu.lua index 9d33f0c56..1455906a8 100644 --- a/plugins/coverbrowser.koplugin/mosaicmenu.lua +++ b/plugins/coverbrowser.koplugin/mosaicmenu.lua @@ -535,7 +535,7 @@ function MosaicMenuItem:update() local bookinfo = BookInfoManager:getBookInfo(self.filepath, self.do_cover_image) - if bookinfo and self.do_cover_image and not bookinfo.ignore_cover then + if bookinfo and self.do_cover_image and not bookinfo.ignore_cover and not self.file_deleted then if bookinfo.cover_fetched then if bookinfo.has_cover and not self.menu.no_refresh_covers then if BookInfoManager.isCachedCoverInvalid(bookinfo, cover_specs) then