add noop callback to cache size to prevent artifacts (#7106)

pull/7116/head
yparitcher 3 years ago committed by GitHub
parent 34b764dc06
commit e157395660
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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"),

Loading…
Cancel
Save