mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
UI/Qt: Add Alt+D as a shortcut to focus the location editor
This commit is contained in:
parent
f3c3213b06
commit
6602fa5d15
|
|
@ -76,7 +76,7 @@ Tab::Tab(BrowserWindow* window, RefPtr<WebView::WebContentClient> parent_client,
|
||||||
});
|
});
|
||||||
|
|
||||||
auto* focus_location_editor_action = new QAction("Edit Location", this);
|
auto* focus_location_editor_action = new QAction("Edit Location", this);
|
||||||
focus_location_editor_action->setShortcut(QKeySequence("Ctrl+L"));
|
focus_location_editor_action->setShortcuts({ QKeySequence("Ctrl+L"), QKeySequence("Alt+D") });
|
||||||
addAction(focus_location_editor_action);
|
addAction(focus_location_editor_action);
|
||||||
|
|
||||||
m_layout->addWidget(m_toolbar);
|
m_layout->addWidget(m_toolbar);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user