mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:17:46 +00:00
Browser: Switch focus to the web page after pressing return in URL bar
Instead of dropping focus entirely, which felt weird.
This commit is contained in:
parent
eadce65e04
commit
e026a50777
1 changed files with 1 additions and 1 deletions
|
@ -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&) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue