Fix changing annot not updating in IndexedDB

This commit is contained in:
Kovid Goyal 2020-08-17 19:38:13 +05:30
parent 607fc44919
commit b93da5d3b8
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -220,7 +220,7 @@ class ReadUI:
library_id = self.base_url_data.library_id
book_id = self.base_url_data.book_id
fmt = self.base_url_data.fmt
self.db.update_annotations_data_from_key(library_id, book_id, fmt, amap)
self.db.update_annotations_data_from_key(library_id, book_id, fmt, {'annotations_map': amap})
@property
def url_data(self):