readerfooter(fix): only populate footer info after document is loaded

This commit is contained in:
Qingping Hou
2016-06-03 01:31:46 -07:00
parent 861e50c0aa
commit f71534e399
2 changed files with 11 additions and 1 deletions

View File

@@ -321,7 +321,7 @@ function ReaderUI:init()
v()
end
-- After initialisation notify that document is loaded
-- After initialisation notify that document is loaded and rendered
-- CREngine only reports correct page count after rendering is done
-- Need the same event for PDF document
self:handleEvent(Event:new("ReaderReady", self.doc_settings))