From 116a8f8250473f3c9034794adbefab77f0162b93 Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Thu, 23 Jun 2022 18:58:20 +0100 Subject: [PATCH] Typo in sorting custom series single widget completion lists --- src/calibre/gui2/custom_column_widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/custom_column_widgets.py b/src/calibre/gui2/custom_column_widgets.py index 41a56888e7..aaaa50aa59 100644 --- a/src/calibre/gui2/custom_column_widgets.py +++ b/src/calibre/gui2/custom_column_widgets.py @@ -592,7 +592,7 @@ class Text(Base): class Series(Base): def setup_ui(self, parent): - w = EditWithComplete(parent, sort_key=title_sort) + w = EditWithComplete(parent, sort_func=title_sort) w.set_separator(None) w.setSizeAdjustPolicy(QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon) w.setMinimumContentsLength(25)