mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-03-10 20:03:41 -04:00
...
This commit is contained in:
parent
001eca4196
commit
6013dc6567
@ -129,7 +129,7 @@ class TagTreeItem(object):
|
||||
if role == Qt.DecorationRole:
|
||||
return self.icon_map[self.tag.state]
|
||||
if role == Qt.ToolTipRole and self.tag.tooltip:
|
||||
return self.tag.tooltip
|
||||
return QVariant(self.tag.tooltip)
|
||||
return NONE
|
||||
|
||||
def toggle(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user