readerfooter(fix): only populate footer info after document is loaded
This commit is contained in:
1 parent
861e50c0aa
commit
f71534e399
2 files changed
+11
-1
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user