Preferences - Add your own columns: small improvement in the column type for ondevice

This commit is contained in:
Charles Haley 2015-11-25 12:23:26 +01:00
parent 74d02ee2a8
commit 6eb8213f25

View File

@ -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']: