From 1079d689d16adb3c505883e07a47ce762bc6819f Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Sat, 16 Jan 2016 11:56:34 +0100 Subject: [PATCH] Fix tag editor not working correctly in comma-separated is_multiple custom columns. --- src/calibre/gui2/dialogs/tag_editor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/gui2/dialogs/tag_editor.py b/src/calibre/gui2/dialogs/tag_editor.py index 6bc4e97c45..d49b480e3b 100644 --- a/src/calibre/gui2/dialogs/tag_editor.py +++ b/src/calibre/gui2/dialogs/tag_editor.py @@ -24,7 +24,8 @@ class TagEditor(QDialog, Ui_TagEditor): # Assume that if given a key then it is a custom column try: self.is_names = db.field_metadata[key]['display'].get('is_names', False) - self.sep = '&' + if self.is_names: + self.sep = '&' except Exception: pass key = db.field_metadata.key_to_label(key)