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)