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 ce54b72db..f59bc9a1b 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -485,4 +485,11 @@ impHandler0(chatBattleTab)
return true;
}
+impHandler0(chatTradeTab)
+{
+ if (chatWindow)
+ chatWindow->selectTabByType(ChatTabType::TRADE);
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/chat.h b/src/actions/chat.h
index b53b069b3..dafc853aa 100644
--- a/src/actions/chat.h
+++ b/src/actions/chat.h
@@ -52,6 +52,7 @@ namespace Actions
decHandler(chatGeneralTab);
decHandler(chatDebugTab);
decHandler(chatBattleTab);
+ decHandler(chatTradeTab);
} // namespace Actions
#undef decHandler