mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
calibredb: Fix set_custom not notifying the GUI
This commit is contained in:
parent
6a5bf68148
commit
b530a31cdd
@ -1037,6 +1037,8 @@ def do_set_custom(db, col, id_, val, append):
|
|||||||
else:
|
else:
|
||||||
db.set_custom(id_, val, label=col, append=append)
|
db.set_custom(id_, val, label=col, append=append)
|
||||||
prints('Data set to: %r'%db.get_custom(id_, label=col, index_is_id=True))
|
prints('Data set to: %r'%db.get_custom(id_, label=col, index_is_id=True))
|
||||||
|
write_dirtied(db)
|
||||||
|
send_message()
|
||||||
|
|
||||||
def set_custom_option_parser():
|
def set_custom_option_parser():
|
||||||
parser = get_parser(_(
|
parser = get_parser(_(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user