mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00
UI/Qt: Add Ctrl-R shortcut for page Reload
Keeping things consistent with other browsers where both f5 and Ctr-R can be used to reload.
This commit is contained in:
parent
86f2d291ca
commit
678c15a06a
Notes:
github-actions[bot]
2025-05-06 22:21:54 +00:00
Author: https://github.com/enkvadrat 🔰
Commit: 678c15a06a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4581
Reviewed-by: https://github.com/shannonbooth ✅
1 changed files with 2 additions and 1 deletions
|
@ -646,7 +646,8 @@ BrowserWindow::BrowserWindow(Vector<URL::URL> const& initial_urls, IsPopupWindow
|
|||
|
||||
m_go_back_action->setShortcuts(QKeySequence::keyBindings(QKeySequence::StandardKey::Back));
|
||||
m_go_forward_action->setShortcuts(QKeySequence::keyBindings(QKeySequence::StandardKey::Forward));
|
||||
m_reload_action->setShortcuts(QKeySequence::keyBindings(QKeySequence::StandardKey::Refresh));
|
||||
m_reload_action->setShortcuts({ QKeySequence(Qt::CTRL | Qt::Key_R), QKeySequence(Qt::Key_F5) });
|
||||
|
||||
m_go_back_action->setEnabled(false);
|
||||
m_go_forward_action->setEnabled(false);
|
||||
m_reload_action->setEnabled(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue