mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -795,6 +795,7 @@ class BulkEnumeration(BulkBase, Enumeration):
|
|||||||
return value
|
return value
|
||||||
|
|
||||||
def setup_ui(self, parent):
|
def setup_ui(self, parent):
|
||||||
|
self.parent = parent
|
||||||
self.make_widgets(parent, QComboBox)
|
self.make_widgets(parent, QComboBox)
|
||||||
vals = self.col_metadata['display']['enum_values']
|
vals = self.col_metadata['display']['enum_values']
|
||||||
self.main_widget.blockSignals(True)
|
self.main_widget.blockSignals(True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user