Make sure also Preferences defaults to British English

This commit is contained in:
Veronica Berglyd Olsen
2023-11-02 23:41:34 +01:00
parent 08a012ef8d
commit 12d7512441
+2
View File
@@ -176,6 +176,8 @@ class GuiPreferencesGeneral(QWidget):
for lang, langName in theLangs:
self.guiLocale.addItem(langName, lang)
langIdx = self.guiLocale.findData(CONFIG.guiLocale)
if langIdx < 0:
langIdx = self.guiLocale.findData("en_GB")
if langIdx != -1:
self.guiLocale.setCurrentIndex(langIdx)