Skip to content

Commit

Permalink
Fix pillaging shortcuts (Shift+P, unit control bar)
Browse files Browse the repository at this point in the history
Requested by French rioters.

Closes #1849.

(cherry picked from commit 0492b96)
  • Loading branch information
lmoureaux committed Jun 17, 2023
1 parent 819bf18 commit 67a1d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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..."));
Expand Down

0 comments on commit 67a1d90

Please sign in to comment.