mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:27:46 +00:00
Ladybird: Focus the location editor when creating a new tab
This lets you start typing a new URL right after pressing Ctrl+T.
This commit is contained in:
parent
031005de2d
commit
27b9cd13ee
3 changed files with 13 additions and 5 deletions
|
@ -212,6 +212,8 @@ void BrowserWindow::new_tab()
|
|||
|
||||
if (m_tabs_container->count() > 1)
|
||||
m_tabs_bar->show();
|
||||
|
||||
tab_ptr->focus_location_editor();
|
||||
}
|
||||
|
||||
void BrowserWindow::close_tab(int index)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue