Hotfix font select in organizer

This commit is contained in:
Raphael Michel
2026-03-25 15:14:20 +01:00
parent c743e9fd3f
commit 1383e967df
3 changed files with 10 additions and 11 deletions

View File

@@ -100,7 +100,7 @@ def primary_font_kwargs():
choices = [('Open Sans', 'Open Sans')]
choices += sorted([
(a, {"title": a, "data": v}) for a, v in get_fonts(pdf_support_required=False).items()
(a, FontSelect.FontOption(title=a, data=v)) for a, v in get_fonts(pdf_support_required=False).items()
], key=lambda a: a[0])
return {
'choices': choices,