mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 04:18:56 +02:00
Preferences - Add your own columns: small improvement in the column type for ondevice
This commit is contained in:
parent
74d02ee2a8
commit
6eb8213f25
1 changed files with 3 additions and 1 deletions
|
|
@ -118,8 +118,10 @@ def setup_row(self, field_metadata, row, col):
|
|||
else:
|
||||
fm = field_metadata[col]
|
||||
|
||||
if col in ['title', 'ondevice']:
|
||||
if col == 'title':
|
||||
coltype = _('Text')
|
||||
elif col == 'ondevice':
|
||||
coltype = _('Yes/No with text')
|
||||
else:
|
||||
dt = fm['datatype']
|
||||
if fm['is_multiple']:
|
||||
|
|
|
|||
Loading…
Reference in a new issue