1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:17:35 +00:00

Browser: Add alternate shortcut F6 for focusing the location box

This commit is contained in:
Aatos Majava 2021-06-24 18:41:16 +03:00 committed by Andreas Kling
parent d50ff2b422
commit 457edaa4d2

View file

@ -281,7 +281,7 @@ Tab::Tab(BrowserWindow& window, Type type)
}
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->set_focus(true);
},