Hide the Suppose Dead hotkey from the preferences
This commit is contained in:
parent
410cc852ce
commit
8867aab43f
2 changed files with 2 additions and 1 deletions
|
@ -154,7 +154,7 @@ std::array<hotkey_command_temp, HOTKEY_NULL - 1> master_hotkey_list {{
|
|||
// TRANSLATORS: whiteboard menu entry: move planned action down queue
|
||||
{ HOTKEY_WB_BUMP_DOWN_ACTION, "wbbumpdownaction", N_("whiteboard^Move Action Down"), false, scope_game, HKCAT_WHITEBOARD, "" },
|
||||
// TRANSLATORS: whiteboard menu entry: plan as though the chosen unit were dead
|
||||
{ HOTKEY_WB_SUPPOSE_DEAD, "wbsupposedead", N_("whiteboard^Suppose Dead"), false, scope_game, HKCAT_WHITEBOARD, "" },
|
||||
{ HOTKEY_WB_SUPPOSE_DEAD, "wbsupposedead", N_("whiteboard^Suppose Dead"), true, scope_game, HKCAT_WHITEBOARD, "" },
|
||||
|
||||
{ HOTKEY_QUIT_TO_DESKTOP, "quit-to-desktop", N_("Quit to Desktop"), false, scope_game | scope_editor | scope_main, HKCAT_GENERAL, "" },
|
||||
{ HOTKEY_EDITOR_MAP_CLOSE, "editor-close-map", N_("Close Map"), false, scope_editor, HKCAT_GENERAL, "" },
|
||||
|
|
|
@ -279,6 +279,7 @@ bool playsingle_controller::hotkey_handler::can_execute_command(const hotkey::ho
|
|||
case hotkey::HOTKEY_WB_SUPPOSE_DEAD:
|
||||
{
|
||||
//@todo re-enable this once we figure out a decent UI for suppose_dead
|
||||
//@todo when re-enabling this, change 'true' to 'false' in master_hotkey_list for this hotkey
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue