mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
preserve tfam group key when it exists
This commit is contained in:
parent
a3e19581f6
commit
8fa9b5778e
@ -340,7 +340,7 @@ class Highlights(QTreeWidget):
|
||||
if tfam:
|
||||
tsec = tfam[0]
|
||||
lsec = tfam[-1]
|
||||
key = (spine_index, tsec or '', lsec or '')
|
||||
key = (spine_index,) + tfam
|
||||
else:
|
||||
tsec = h.get('top_level_section_title')
|
||||
lsec = h.get('lowest_level_section_title')
|
||||
|
Loading…
x
Reference in New Issue
Block a user