From a38daf9779c68c7e48ef8d1458094c606f48b3e0 Mon Sep 17 00:00:00 2001 From: Chris Hill Date: Sun, 17 Apr 2016 22:41:29 +0100 Subject: [PATCH] natural sort for theme in edit song form --- openlp/plugins/songs/forms/editsongform.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openlp/plugins/songs/forms/editsongform.py b/openlp/plugins/songs/forms/editsongform.py index cc2332fd3..b1a22f1cf 100644 --- a/openlp/plugins/songs/forms/editsongform.py +++ b/openlp/plugins/songs/forms/editsongform.py @@ -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)