This commit is contained in:
Kovid Goyal 2023-04-20 15:33:37 +05:30
commit eb72eabb44
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -145,7 +145,7 @@ class ChooseMultiSort(Dialog):
return self.no_column_selected_error() return self.no_column_selected_error()
d = QInputDialog(self) d = QInputDialog(self)
d.setComboBoxEditable(True) d.setComboBoxEditable(True)
d.setComboBoxItems(self.saved_specs.keys()) d.setComboBoxItems(sorted(self.saved_specs.keys(), key=primary_sort_key))
d.setWindowTitle(_('Choose name')) d.setWindowTitle(_('Choose name'))
d.setLabelText(_('Choose a name for these settings')) d.setLabelText(_('Choose a name for these settings'))
if d.exec(): if d.exec():