mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Do not offer the tag editor for custom is_name columns. It destroys the order of the names.
This commit is contained in:
parent
5c5d8393db
commit
3b6702cf81
@ -317,8 +317,10 @@ class Text(Base):
|
|||||||
if self.sep['ui_to_list'] == '&':
|
if self.sep['ui_to_list'] == '&':
|
||||||
w.set_space_before_sep(True)
|
w.set_space_before_sep(True)
|
||||||
w.set_add_separator(tweaks['authors_completer_append_separator'])
|
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.setSizePolicy(QSizePolicy.Minimum, QSizePolicy.Preferred)
|
||||||
w.get_editor_button().clicked.connect(self.edit)
|
|
||||||
else:
|
else:
|
||||||
w = EditWithComplete(parent)
|
w = EditWithComplete(parent)
|
||||||
w.set_separator(None)
|
w.set_separator(None)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user