mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:47:35 +00:00
Browser: Add alternate shortcut F6 for focusing the location box
This commit is contained in:
parent
d50ff2b422
commit
457edaa4d2
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ Tab::Tab(BrowserWindow& window, Type type)
|
||||||
}
|
}
|
||||||
|
|
||||||
auto focus_location_box_action = GUI::Action::create(
|
auto focus_location_box_action = GUI::Action::create(
|
||||||
"Focus location box", { Mod_Ctrl, Key_L }, [this](auto&) {
|
"Focus location box", { Mod_Ctrl, Key_L }, Key_F6, [this](auto&) {
|
||||||
m_location_box->select_all();
|
m_location_box->select_all();
|
||||||
m_location_box->set_focus(true);
|
m_location_box->set_focus(true);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue