From ef37158e57ec120f78e4e54fa60b53193a09e3ae Mon Sep 17 00:00:00 2001 From: lordwelch Date: Fri, 16 Aug 2019 13:16:25 -0700 Subject: [PATCH] Sort language correctly --- comictaggerlib/taggerwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comictaggerlib/taggerwindow.py b/comictaggerlib/taggerwindow.py index be4ab8f..eebc86b 100644 --- a/comictaggerlib/taggerwindow.py +++ b/comictaggerlib/taggerwindow.py @@ -1422,7 +1422,7 @@ class TaggerWindow(QtWidgets.QMainWindow): # Add the entries to the language combobox self.cbLanguage.addItem("", "") lang_dict = utils.getLanguageDict() - for key in sorted(lang_dict, key=functools.cmp_to_key(locale.strcoll)): + for key in sorted(lang_dict, key=lang_dict.get): self.cbLanguage.addItem(lang_dict[key], key) # Add the entries to the manga combobox