DictionaryDb: emit add after actually adding (fixed typo)
This commit is contained in:
parent
06d0db3b6a
commit
6e0b8ccf86
@ -1168,7 +1168,7 @@ class DictionaryDb(DbWriteBase, DbReadBase, UpdateCallback, Callback):
|
|||||||
emit = None
|
emit = None
|
||||||
if not trans.batch:
|
if not trans.batch:
|
||||||
if note.handle in self.note_map:
|
if note.handle in self.note_map:
|
||||||
emit "note-update"
|
emit = "note-update"
|
||||||
else:
|
else:
|
||||||
emit = "note-add"
|
emit = "note-add"
|
||||||
self.note_map[note.handle] = note
|
self.note_map[note.handle] = note
|
||||||
|
Loading…
Reference in New Issue
Block a user