mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-06 03:13:43 +02:00
calibredb should ask the GUI to refresh its book list after setting metadata
This commit is contained in:
parent
99c7311c02
commit
5aa463b5e0
1 changed files with 3 additions and 0 deletions
|
|
@ -337,6 +337,9 @@ def do_set_metadata(db, id, stream):
|
|||
mi = OPFReader(stream)
|
||||
db.set_metadata(id, mi)
|
||||
do_show_metadata(db, id, False)
|
||||
if SingleApplication is not None:
|
||||
sa = SingleApplication('calibre GUI')
|
||||
sa.send_message('refreshdb:')
|
||||
|
||||
def command_set_metadata(args, dbpath):
|
||||
parser = get_parser(_(
|
||||
|
|
|
|||
Loading…
Reference in a new issue