mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 10:15:07 +00:00
Help: Set tree view as focused widget
This allows you to use the start using the keys to navigate the menu immediately, instead of having to click on the tree view first.
This commit is contained in:
parent
a850a89c1b
commit
6697513d30
1 changed files with 1 additions and 0 deletions
|
@ -158,6 +158,7 @@ int main(int argc, char* argv[])
|
|||
app.set_menubar(move(menubar));
|
||||
|
||||
window->set_main_widget(widget);
|
||||
window->set_focused_widget(tree_view);
|
||||
window->show();
|
||||
|
||||
window->set_icon(load_png("/res/icons/16x16/book.png"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue