diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-11 16:50:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-11 16:50:20 +0300 |
commit | ab2757fe1ec538809b0bf4ec81a1e51c57b9bee3 (patch) | |
tree | 1f92d8821ae713773786507d28a6801bc61dc0f5 /src/actions/chat.cpp | |
parent | ca108c26aa632e54993c11861442800277efa45d (diff) | |
download | manaverse-ab2757fe1ec538809b0bf4ec81a1e51c57b9bee3.tar.gz manaverse-ab2757fe1ec538809b0bf4ec81a1e51c57b9bee3.tar.bz2 manaverse-ab2757fe1ec538809b0bf4ec81a1e51c57b9bee3.tar.xz manaverse-ab2757fe1ec538809b0bf4ec81a1e51c57b9bee3.zip |
Add chat command for select lang tab.
New chat command: /langtab
Alias: /langchattab
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 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 |