Typo in sorting custom series single widget completion lists

This commit is contained in:
Charles Haley 2022-06-23 18:58:20 +01:00
parent ccb6ff9d3e
commit 116a8f8250

View File

@ -592,7 +592,7 @@ class Text(Base):
class Series(Base): class Series(Base):
def setup_ui(self, parent): def setup_ui(self, parent):
w = EditWithComplete(parent, sort_key=title_sort) w = EditWithComplete(parent, sort_func=title_sort)
w.set_separator(None) w.set_separator(None)
w.setSizeAdjustPolicy(QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon) w.setSizeAdjustPolicy(QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon)
w.setMinimumContentsLength(25) w.setMinimumContentsLength(25)