1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09: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
Notes: sideshowbarker 2024-07-19 10:00:06 +09:00

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