Do not offer the tag editor for custom is_name columns. It destroys the order of the names.

This commit is contained in:
Charles Haley 2015-05-26 10:38:53 +02:00
parent 5c5d8393db
commit 3b6702cf81

View File

@ -317,8 +317,10 @@ class Text(Base):
if self.sep['ui_to_list'] == '&':
w.set_space_before_sep(True)
w.set_add_separator(tweaks['authors_completer_append_separator'])
w.get_editor_button().setVisible(False)
else:
w.get_editor_button().clicked.connect(self.edit)
w.setSizePolicy(QSizePolicy.Minimum, QSizePolicy.Preferred)
w.get_editor_button().clicked.connect(self.edit)
else:
w = EditWithComplete(parent)
w.set_separator(None)