From 67a1d900a20bbb5b450021e1d65bd5b68d2e1493 Mon Sep 17 00:00:00 2001 From: Louis Moureaux Date: Mon, 3 Apr 2023 03:12:09 +0200 Subject: [PATCH] Fix pillaging shortcuts (Shift+P, unit control bar) Requested by French rioters. Closes #1849. (cherry picked from commit 0492b96d02582eafa64f6a7fe83ad74b1e19609e) --- client/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/menu.cpp b/client/menu.cpp index e16fbbe49a..59fee34cc4 100644 --- a/client/menu.cpp +++ b/client/menu.cpp @@ -847,7 +847,7 @@ void mr_menu::setup_menus() menu->addSeparator(); act = menu->addAction(_("Pillage")); menu_list.insert(PILLAGE, act); - act->setShortcut(QKeySequence(tr("shift+p"))); + shortcuts->link_action(SC_PILLAGE, act); connect(act, &QAction::triggered, this, &mr_menu::slot_pillage); // TRANS: Menu item to bring up the action selection dialog. act = menu->addAction(_("Do..."));