FirstBootPrompt: focus the language list
Make it possible to easily use the window with only the keyboard.
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user