TOC, bookmarks: remember current page so we can go back to it
This commit is contained in:
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
|
||||
|
||||
|
||||
Reference in new issue
Block a user