mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Forgot to fix TextDelegate
This commit is contained in:
parent
3f32a66c32
commit
7bde308bd6
@ -317,7 +317,8 @@ class TextDelegate(QStyledItemDelegate, UpdateEditorGeometry): # {{{
|
||||
return editor
|
||||
|
||||
def setEditorData(self, editor, index):
|
||||
editor.setText(get_val_for_textlike_columns(index))
|
||||
n = editor.metaObject().userProperty().name()
|
||||
editor.setProperty(n, get_val_for_textlike_columns(index))
|
||||
|
||||
def setModelData(self, editor, model, index):
|
||||
if isinstance(editor, EditWithComplete):
|
||||
|
Loading…
x
Reference in New Issue
Block a user