mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-29 14:14:51 +01:00
Fix exception in bulk edit when an enumeration value is missing from the valid set
This commit is contained in:
parent
5974122195
commit
fe1aa601fe
1 changed files with 1 additions and 0 deletions
|
|
@ -795,6 +795,7 @@ def get_initial_value(self, book_ids):
|
|||
return value
|
||||
|
||||
def setup_ui(self, parent):
|
||||
self.parent = parent
|
||||
self.make_widgets(parent, QComboBox)
|
||||
vals = self.col_metadata['display']['enum_values']
|
||||
self.main_widget.blockSignals(True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue