From b530a31cdddece99ef3bf69b65f22297a952a9b4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 13 Sep 2016 06:22:26 +0530 Subject: [PATCH] calibredb: Fix set_custom not notifying the GUI --- src/calibre/library/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/library/cli.py b/src/calibre/library/cli.py index 759c77591b..c70491fd02 100644 --- a/src/calibre/library/cli.py +++ b/src/calibre/library/cli.py @@ -1037,6 +1037,8 @@ def do_set_custom(db, col, id_, val, append): else: db.set_custom(id_, val, label=col, append=append) 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(): parser = get_parser(_(