mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
f94cea6a52
commit
f58ca4bff4
@ -174,7 +174,7 @@ class TOCViewer(QWidget):
|
|||||||
node.setData(0, DEST_ROLE, child.dest or '')
|
node.setData(0, DEST_ROLE, child.dest or '')
|
||||||
node.setData(0, FRAG_ROLE, child.frag or '')
|
node.setData(0, FRAG_ROLE, child.frag or '')
|
||||||
tt = _('File: {0}\nAnchor: {1}').format(
|
tt = _('File: {0}\nAnchor: {1}').format(
|
||||||
child.dest or '', child.frag or '')
|
child.dest or '', child.frag or _('Top of file'))
|
||||||
node.setData(0, Qt.ToolTipRole, tt)
|
node.setData(0, Qt.ToolTipRole, tt)
|
||||||
process_node(child, node)
|
process_node(child, node)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user