fix initial highlight on the welcome screen

unless LANG happened to match a supported language exactly, the last language
(currently Ukranian) would be selected by default
This commit is contained in:
Michael Hudson-Doyle 2020-02-12 12:23:31 +13:00
parent e2410a0bb1
commit a7db327944
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class WelcomeController(SubiquityController):
if code == lang:
self.model.switch_language(code)
else:
self.model.selected_language = code
self.model.selected_language = lang
def start_ui(self):
view = WelcomeView(self.model, self)