From 44a3066a10e9988030b053603d2f0e3a91cba9b6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 16 Jan 2025 17:05:48 +0530 Subject: [PATCH] Fix #2093803 [Private bug](https://bugs.launchpad.net/calibre/+bug/2093803) --- src/calibre/gui2/viewer/highlights.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/viewer/highlights.py b/src/calibre/gui2/viewer/highlights.py index 5848f4c6f2..b0d223549f 100644 --- a/src/calibre/gui2/viewer/highlights.py +++ b/src/calibre/gui2/viewer/highlights.py @@ -356,7 +356,7 @@ class Highlights(QTreeWidget): for key in keys: section = smap[key] if section['tfam']: - section['title'] = ' ➤ '.join(tfam) + section['title'] = ' ➤ '.join(section['tfam']) elif section['tsec'] and section['lsec']: section['title'] = ' ➤ '.join((section['tsec'], section['lsec']))