This commit is contained in:
Kovid Goyal 2013-12-12 21:07:53 +05:30
parent f94cea6a52
commit f58ca4bff4

View File

@ -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)