diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-11 15:56:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-11 15:56:29 +0300 |
commit | ca108c26aa632e54993c11861442800277efa45d (patch) | |
tree | 2c17e4ed6803b1d72b628d374186068981a7995c /src/actions/chat.cpp | |
parent | db5ac7e5ac2642a2df29dcd6de3d6fba5a964b47 (diff) | |
download | plus-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.cpp | 7 |
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 |