mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
Fix #1922131 [Advanced rules editor fails after new library with structure](https://bugs.launchpad.net/calibre/+bug/1922131)
This commit is contained in:
commit
5f8239fa78
@ -318,7 +318,7 @@ class TemplateDialog(QDialog, Ui_TemplateDialog):
|
|||||||
mi.languages = ['eng']
|
mi.languages = ['eng']
|
||||||
mi.id = 1
|
mi.id = 1
|
||||||
if fm is not None:
|
if fm is not None:
|
||||||
self.mi.set_all_user_metadata(fm.custom_field_metadata())
|
mi.set_all_user_metadata(fm.custom_field_metadata())
|
||||||
else:
|
else:
|
||||||
# No field metadata. Grab a copy from the current library so
|
# No field metadata. Grab a copy from the current library so
|
||||||
# that we can validate any custom column names. The values for
|
# that we can validate any custom column names. The values for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user