mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-05 05:55:12 +01:00
Fix #8417 (yes/no columns difficulty?)
This commit is contained in:
commit
e24f359a84
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ class CcEnumDelegate(QStyledItemDelegate): # {{{
|
|||
def createEditor(self, parent, option, index):
|
||||
m = index.model()
|
||||
col = m.column_map[index.column()]
|
||||
editor = QComboBox(parent)
|
||||
editor = DelegateCB(parent)
|
||||
editor.addItem('')
|
||||
for v in m.custom_columns[col]['display']['enum_values']:
|
||||
editor.addItem(v)
|
||||
|
|
|
|||
Loading…
Reference in a new issue