summaryrefslogtreecommitdiff
path: root/src/actions/chat.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 15:56:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-11 15:56:29 +0300
commitca108c26aa632e54993c11861442800277efa45d (patch)
tree2c17e4ed6803b1d72b628d374186068981a7995c /src/actions/chat.cpp
parentdb5ac7e5ac2642a2df29dcd6de3d6fba5a964b47 (diff)
downloadplus-ca108c26aa632e54993c11861442800277efa45d.tar.gz
plus-ca108c26aa632e54993c11861442800277efa45d.tar.bz2
plus-ca108c26aa632e54993c11861442800277efa45d.tar.xz
plus-ca108c26aa632e54993c11861442800277efa45d.zip
Add chat command for select trade tab.
New chat command: /tradetab Alias: /tradechattab
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r--src/actions/chat.cpp7
1 files changed, 7 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