mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-23 06:13:17 +02:00
Bug #1922131: Advanced rules editor fails after new library with structure
This commit is contained in:
parent
541178ade0
commit
aaf7ed6a25
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ def __init__(self, parent, text, mi=None, fm=None, color_field=None,
|
|||
mi.languages = ['eng']
|
||||
mi.id = 1
|
||||
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:
|
||||
# No field metadata. Grab a copy from the current library so
|
||||
# that we can validate any custom column names. The values for
|
||||
|
|
|
|||
Loading…
Reference in a new issue