--- a/eric7/Preferences/ConfigurationPages/InterfacePage.py Wed Nov 03 19:45:20 2021 +0100 +++ b/eric7/Preferences/ConfigurationPages/InterfacePage.py Wed Nov 03 20:02:41 2021 +0100 @@ -224,7 +224,7 @@ Private method to populate the style combo box. """ curStyle = Preferences.getUI("Style") - styles = sorted(list(QStyleFactory.keys())) + styles = sorted(QStyleFactory.keys()) self.styleComboBox.addItem(self.tr('System'), "System") for style in styles: self.styleComboBox.addItem(style, style) @@ -257,7 +257,7 @@ "Translate this with your language") + " ({0})".format(locale) ) - localeList = sorted(list(locales.keys())) + localeList = sorted(locales.keys()) try: uiLanguage = Preferences.getUILanguage() if uiLanguage == "None" or uiLanguage is None: