Statistics: Re-enable in FM

Fix #7844
Regression since #7728
This commit is contained in:
NiLuJe committed 2021-06-15 18:00:32 +02:00
1 parent 5310381106
commit 522aa49e63
1 file changed
+2 -1
+2 -1
View File
@@ -139,7 +139,8 @@ ReaderStatistics.default_settings = {
}
function ReaderStatistics:init()
if self:isDocless() then
-- Disable in PIC documents (but not the FM, as we want to be registered to the FM's menu).
if self.ui and self.ui.document and self.ui.document.is_pic then
return
end