From 8f16d37f00019ebd5ffc732c3735fc9e7d3a9e02 Mon Sep 17 00:00:00 2001 From: Xexxa <93391300+Xexxa@users.noreply.github.com> Date: Thu, 25 May 2023 03:26:42 +0200 Subject: [PATCH] Ladybird: Add shortcut to "Close Current Tab" --- Ladybird/BrowserWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ladybird/BrowserWindow.cpp b/Ladybird/BrowserWindow.cpp index 3e73567296c..4805ad693b8 100644 --- a/Ladybird/BrowserWindow.cpp +++ b/Ladybird/BrowserWindow.cpp @@ -49,7 +49,7 @@ BrowserWindow::BrowserWindow(Browser::CookieJar& cookie_jar, StringView webdrive new_tab_action->setShortcuts(QKeySequence::keyBindings(QKeySequence::StandardKey::AddTab)); menu->addAction(new_tab_action); - auto* close_current_tab_action = new QAction("Close Current Tab", this); + auto* close_current_tab_action = new QAction("&Close Current Tab", this); close_current_tab_action->setIcon(QIcon(QString("%1/res/icons/16x16/close-tab.png").arg(s_serenity_resource_root.characters()))); close_current_tab_action->setShortcuts(QKeySequence::keyBindings(QKeySequence::StandardKey::Close)); menu->addAction(close_current_tab_action);