Fix: incorrect chapter markers (#5425)

This commit is contained in:
Robert
2019-09-25 19:40:00 +02:00
committed by poire-z
parent e7cfc65780
commit 0778ec09fc
2 changed files with 4 additions and 1 deletions

View File

@@ -751,6 +751,7 @@ function ReaderRolling:onChangeViewMode()
self.old_doc_height = self.ui.document.info.doc_height
self.old_page = self.ui.document.info.number_of_pages
self.ui:handleEvent(Event:new("UpdateToc"))
self.view.footer:setTocMarkers(true)
if self.xpointer then
self:_gotoXPointer(self.xpointer)
-- Ensure a whole screen refresh is always enqueued