1
Fork 0
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:
Shannon Booth 2020-01-18 12:10:00 +13:00 committed by Andreas Kling
parent a850a89c1b
commit 6697513d30

View file

@ -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"));