Fix #1881396 [[Enhancement] In the Tag browser context menu ' is used as an](https://bugs.launchpad.net/calibre/+bug/1881396)

This commit is contained in:
Kovid Goyal 2020-05-30 14:52:11 +05:30
parent 50a19e2b75
commit 19de299830
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -562,7 +562,7 @@ class TagsView(QTreeView): # {{{
n = tag.name
if len(n) > 45:
n = n[:45] + '...'
ans = "'" + n + "'"
ans = n
elif tag.is_hierarchical and not tag.is_editable:
ans = tag.original_name
if ans: