From e157395660108032ca02c2acb3275d6012af23e7 Mon Sep 17 00:00:00 2001 From: yparitcher Date: Wed, 6 Jan 2021 17:12:40 -0500 Subject: [PATCH] add noop callback to cache size to prevent artifacts (#7106) --- plugins/coverbrowser.koplugin/main.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/coverbrowser.koplugin/main.lua b/plugins/coverbrowser.koplugin/main.lua index d7151ea4f..11741222d 100644 --- a/plugins/coverbrowser.koplugin/main.lua +++ b/plugins/coverbrowser.koplugin/main.lua @@ -472,7 +472,8 @@ function CoverBrowser:addToMainMenu(menu_items) local sstr = BookInfoManager:getDbSize() return _("Current cache size: ") .. sstr end, - -- no callback, only for information + keep_menu_open = true, + callback = function() end, -- no callback, only for information }, { text = _("Prune cache of removed books"),