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 0e719fb75..ce54b72db 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -478,4 +478,11 @@ impHandler0(chatDebugTab)
return true;
}
+impHandler0(chatBattleTab)
+{
+ if (chatWindow)
+ chatWindow->selectTabByType(ChatTabType::BATTLE);
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/chat.h b/src/actions/chat.h
index 6f6708a99..b53b069b3 100644
--- a/src/actions/chat.h
+++ b/src/actions/chat.h
@@ -51,6 +51,7 @@ namespace Actions
decHandler(clearChat);
decHandler(chatGeneralTab);
decHandler(chatDebugTab);
+ decHandler(chatBattleTab);
} // namespace Actions
#undef decHandler