mirror of
https://github.com/koreader/koreader.git
synced 2026-12-03 02:33:44 +00:00
1 parent
892034c96e
commit
e551601fc4
3 files changed
+16
-8
No files matched your search
@@ -985,8 +985,10 @@ function ReaderUI:onOpenLastDoc()
|
||||
filemanagerutil.openFile(self, self.menu:getPreviousFile())
|
||||
end
|
||||
|
||||
function ReaderUI:onAnnotationsModified()
|
||||
BookList.setBookInfoCacheProperty(self.document.file, "has_annotations", self.annotation:hasAnnotations())
|
||||
function ReaderUI:onAnnotationsModified(items)
|
||||
if items.index_modified then
|
||||
BookList.setBookInfoCacheProperty(self.document.file, "has_annotations", self.annotation:hasAnnotations())
|
||||
end
|
||||
end
|
||||
|
||||
function ReaderUI:onDocumentRerendered()
|
||||
|
||||
Reference in new issue
Block a user