summaryrefslogtreecommitdiffstats
path: root/pyanaconda
diff options
context:
space:
mode:
Diffstat (limited to 'pyanaconda')
-rw-r--r--pyanaconda/ui/gui/spokes/welcome.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyanaconda/ui/gui/spokes/welcome.py b/pyanaconda/ui/gui/spokes/welcome.py
index dc4c733ce..7982e2361 100644
--- a/pyanaconda/ui/gui/spokes/welcome.py
+++ b/pyanaconda/ui/gui/spokes/welcome.py
@@ -106,7 +106,9 @@ class LanguageMixIn(object):
# select the preferred translation if there wasn't any
(store, itr) = self._selection.get_selected()
if not itr:
- self._selectLanguage(store, self.language.preferred_translation.short_name)
+ lang = self.data.lang.lang or \
+ self.language.preferred_translation.short_name
+ self._selectLanguage(store, lang)
def retranslate(self):