mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix error in template dialog when using {id} in send to device preferences. Fixes #1474513 [Send ebook to device with internal ID](https://bugs.launchpad.net/calibre/+bug/1474513)
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
877d3c9e96
@ -274,6 +274,7 @@ class TemplateDialog(QDialog, Ui_TemplateDialog):
|
||||
self.mi.rating = 4.0
|
||||
self.mi.tags = [_('Tag 1'), _('Tag 2')]
|
||||
self.mi.languages = ['eng']
|
||||
self.mi.id = 1
|
||||
if fm is not None:
|
||||
self.mi.set_all_user_metadata(fm.custom_field_metadata())
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user