mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Make db2.set_metadata not issue notifies when calling set_custom
This commit is contained in:
parent
bd6a14069d
commit
81283ff687
@ -2012,7 +2012,7 @@ class LibraryDatabase2(LibraryDatabase, SchemaUpgrade, CustomColumns):
|
||||
val = mi.get(key, None)
|
||||
if force_changes or val is not None:
|
||||
doit(self.set_custom, id, val=val, extra=mi.get_extra(key),
|
||||
label=user_mi[key]['label'], commit=False)
|
||||
label=user_mi[key]['label'], commit=False, notify=False)
|
||||
if commit:
|
||||
self.conn.commit()
|
||||
if notify:
|
||||
|
Loading…
x
Reference in New Issue
Block a user