From d9b3847c820eb09b07873f544b40ba41c638daf7 Mon Sep 17 00:00:00 2001 From: hius07 <62179190+hius07@users.noreply.github.com> Date: Wed, 6 Mar 2024 14:07:35 +0200 Subject: [PATCH] listmenu: fix cover of deleted file in history --- plugins/coverbrowser.koplugin/listmenu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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