mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Preferences - Add your own columns: small improvement in the column type for ondevice
This commit is contained in:
parent
74d02ee2a8
commit
6eb8213f25
@ -118,8 +118,10 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
|||||||
else:
|
else:
|
||||||
fm = field_metadata[col]
|
fm = field_metadata[col]
|
||||||
|
|
||||||
if col in ['title', 'ondevice']:
|
if col == 'title':
|
||||||
coltype = _('Text')
|
coltype = _('Text')
|
||||||
|
elif col == 'ondevice':
|
||||||
|
coltype = _('Yes/No with text')
|
||||||
else:
|
else:
|
||||||
dt = fm['datatype']
|
dt = fm['datatype']
|
||||||
if fm['is_multiple']:
|
if fm['is_multiple']:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user