From 8d9fab1be9588715463e90c182441fdc4f7d4f48 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Fri, 14 Nov 2014 16:51:44 +0100 Subject: [PATCH] FirstBootPrompt: focus the language list Make it possible to easily use the window with only the keyboard. --- src/apps/firstbootprompt/BootPromptWindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/apps/firstbootprompt/BootPromptWindow.cpp b/src/apps/firstbootprompt/BootPromptWindow.cpp index 9576561004..b64b57247c 100644 --- a/src/apps/firstbootprompt/BootPromptWindow.cpp +++ b/src/apps/firstbootprompt/BootPromptWindow.cpp @@ -63,7 +63,7 @@ static const char* kLanguageKeymapMappings[] = { "Dutch", "US-International" }; static const size_t kLanguageKeymapMappingsSize - = sizeof(kLanguageKeymapMappings) / sizeof(kLanguageKeymapMappings[0]); + = sizeof(kLanguageKeymapMappings) / sizeof(kLanguageKeymapMappings[0]); class LanguageItem : public BStringItem { @@ -215,6 +215,8 @@ BootPromptWindow::BootPromptWindow() .View() ); + fLanguagesListView->MakeFocus(); + _UpdateStrings(); CenterOnScreen(); Show();