diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 9 | ||||
-rw-r--r-- | src/input/pages/chat.cpp | 6 |
3 files changed, 16 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 5cea51f31..c9a35a66f 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -342,6 +342,7 @@ namespace InputAction WINDOW_UPDATER, TARGET_CLOSEST_MONSTER, CLOSE_ALL_CHAT_TABS, + IGNORE_ALL_WHISPERS, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 35fd37d57..19026df4d 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -2846,6 +2846,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "closeall", + false}, + {"keyChatIgnoreAllWhispers", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT | Input::GRP_GUI, + &Actions::ignoreAllWhispers, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "ignoreallwhispers", false} }; diff --git a/src/input/pages/chat.cpp b/src/input/pages/chat.cpp index 113efa3a5..d61f7855a 100644 --- a/src/input/pages/chat.cpp +++ b/src/input/pages/chat.cpp @@ -74,6 +74,12 @@ SetupActionData setupActionDataChat[] = }, { // TRANSLATORS: input action name + N_("Ignore all whispers"), + InputAction::IGNORE_ALL_WHISPERS, + "", + }, + { + // TRANSLATORS: input action name N_("Previous chat line"), InputAction::CHAT_PREV_HISTORY, "", |