FirstBootPrompt: focus the language list

Make it possible to easily use the window with only the keyboard.
This commit is contained in:
Adrien Destugues
2014-11-14 16:51:44 +01:00
parent 3c3eb09760
commit 8d9fab1be9
@@ -63,7 +63,7 @@ static const char* kLanguageKeymapMappings[] = {
"Dutch", "US-International" "Dutch", "US-International"
}; };
static const size_t kLanguageKeymapMappingsSize static const size_t kLanguageKeymapMappingsSize
= sizeof(kLanguageKeymapMappings) / sizeof(kLanguageKeymapMappings[0]); = sizeof(kLanguageKeymapMappings) / sizeof(kLanguageKeymapMappings[0]);
class LanguageItem : public BStringItem { class LanguageItem : public BStringItem {
@@ -215,6 +215,8 @@ BootPromptWindow::BootPromptWindow()
.View() .View()
); );
fLanguagesListView->MakeFocus();
_UpdateStrings(); _UpdateStrings();
CenterOnScreen(); CenterOnScreen();
Show(); Show();