summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/actions/chat.cpp7
-rw-r--r--src/actions/chat.h1
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h5
4 files changed, 14 insertions, 0 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index b18a71218..3091bb108 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -506,4 +506,11 @@ impHandler0(chatGmTab)
return true;
}
+impHandler0(chatPartyTab)
+{
+ if (chatWindow)
+ chatWindow->selectTabByType(ChatTabType::PARTY);
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/chat.h b/src/actions/chat.h
index b67344c17..b8e0cd5b3 100644
--- a/src/actions/chat.h
+++ b/src/actions/chat.h
@@ -55,6 +55,7 @@ namespace Actions
decHandler(chatTradeTab);
decHandler(chatLangTab);
decHandler(chatGmTab);
+ decHandler(chatPartyTab);
} // namespace Actions
#undef decHandler
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index f0d444fae..b027ff0e2 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -532,6 +532,7 @@ namespace InputAction
CHAT_TRADE_TAB,
CHAT_LANG_TAB,
CHAT_GM_TAB,
+ CHAT_PARTY_TAB,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 31be925a6..a46fb72e4 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3954,6 +3954,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"gmtab|gmchattab",
false},
+ {"keyPartyTab",
+ defaultAction(&Actions::chatPartyTab),
+ InputCondition::INGAME,
+ "partytab|partychattab",
+ false},
};
#undef defaultAction