mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
I forgot to sort the names.
This commit is contained in:
parent
532d17c070
commit
7e469587dc
@ -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():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user