From 6eb8213f25d7984e12b6d1348d3cecb1ede5b7b9 Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Wed, 25 Nov 2015 12:23:26 +0100 Subject: [PATCH] Preferences - Add your own columns: small improvement in the column type for ondevice --- src/calibre/gui2/preferences/columns.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/calibre/gui2/preferences/columns.py b/src/calibre/gui2/preferences/columns.py index 59a429bb94..804a1f0665 100644 --- a/src/calibre/gui2/preferences/columns.py +++ b/src/calibre/gui2/preferences/columns.py @@ -118,8 +118,10 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form): 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']: