forked from openlp/openlp
natural sort for theme in edit song form
This commit is contained in:
parent
2dd3cdc5ea
commit
a38daf9779
@ -384,6 +384,7 @@ class EditSongForm(QtWidgets.QDialog, Ui_EditSongDialog, RegistryProperties):
|
||||
self.theme_combo_box.clear()
|
||||
self.theme_combo_box.addItem('')
|
||||
self.themes = theme_list
|
||||
self.themes.sort(key=lambda theme: get_natural_key(theme))
|
||||
self.theme_combo_box.addItems(theme_list)
|
||||
set_case_insensitive_completer(self.themes, self.theme_combo_box)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user