summaryrefslogtreecommitdiff
path: root/src/actions/chat.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 16:50:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-11 16:50:20 +0300
commitab2757fe1ec538809b0bf4ec81a1e51c57b9bee3 (patch)
tree1f92d8821ae713773786507d28a6801bc61dc0f5 /src/actions/chat.cpp
parentca108c26aa632e54993c11861442800277efa45d (diff)
downloadplus-ab2757fe1ec538809b0bf4ec81a1e51c57b9bee3.tar.gz
plus-ab2757fe1ec538809b0bf4ec81a1e51c57b9bee3.tar.bz2
plus-ab2757fe1ec538809b0bf4ec81a1e51c57b9bee3.tar.xz
plus-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.cpp7
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