TOC, bookmarks: remember current page so we can go back to it

This commit is contained in:
poire-z authored and Frans de Jonge committed 2018-01-31 14:22:28 +01:00
1 parent d0f9b53eb3
commit e615345ffa
3 files changed
+13 -2

No files matched your search

@@ -241,6 +241,7 @@ function ReaderBookmark:onShowBookmark()
-- buid up menu widget method as closure
local bookmark = self
function bm_menu:onMenuChoice(item)
bookmark.ui.link:addCurrentLocationToStack()
bookmark:gotoBookmark(item.page)
end