mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
f760326ed2
commit
ac5f1e9039
@ -488,7 +488,9 @@ class TagsView(QTreeView): # {{{
|
|||||||
if len(n) > 45:
|
if len(n) > 45:
|
||||||
n = n[:45] + '...'
|
n = n[:45] + '...'
|
||||||
ans = "'" + n + "'"
|
ans = "'" + n + "'"
|
||||||
return ans.replace('&', '&&')
|
if ans:
|
||||||
|
ans = ans.replace('&', '&&')
|
||||||
|
return ans
|
||||||
|
|
||||||
index = self.indexAt(point)
|
index = self.indexAt(point)
|
||||||
self.context_menu = QMenu(self)
|
self.context_menu = QMenu(self)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user