From e026a50777d7c2a0f5c8658ce59943695e388b00 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 28 May 2020 17:58:30 +0200 Subject: [PATCH] Browser: Switch focus to the web page after pressing return in URL bar Instead of dropping focus entirely, which felt weird. --- Applications/Browser/Tab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/Browser/Tab.cpp b/Applications/Browser/Tab.cpp index 3aea7be8bc..a52c9f197e 100644 --- a/Applications/Browser/Tab.cpp +++ b/Applications/Browser/Tab.cpp @@ -115,7 +115,7 @@ Tab::Tab() } m_html_widget->load(location); - m_location_box->set_focus(false); + m_html_widget->set_focus(true); }; m_location_box->add_custom_context_menu_action(GUI::Action::create("Paste & Go", [this](auto&) {