summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/chat.cpp7
-rw-r--r--src/actions/chat.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index f59bc9a1b..336b03065 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -492,4 +492,11 @@ impHandler0(chatTradeTab)
return true;
}
+impHandler0(chatLangTab)
+{
+ if (chatWindow)
+ chatWindow->selectTabByType(ChatTabType::LANG);
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/chat.h b/src/actions/chat.h
index dafc853aa..980ca0762 100644
--- a/src/actions/chat.h
+++ b/src/actions/chat.h
@@ -53,6 +53,7 @@ namespace Actions
decHandler(chatDebugTab);
decHandler(chatBattleTab);
decHandler(chatTradeTab);
+ decHandler(chatLangTab);
} // namespace Actions
#undef decHandler