summaryrefslogtreecommitdiff
path: root/src/actions/chat.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 16:56:51 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-11 16:56:51 +0300
commit36345952f734b410e745ccfe093b9c12cc65c4fe (patch)
treeb358099eb689799b365d6e84c8b58d32a5f347e7 /src/actions/chat.cpp
parent073ac78da73bb2901b48c311a6f8ee7ccca5d294 (diff)
downloadmanaverse-36345952f734b410e745ccfe093b9c12cc65c4fe.tar.gz
manaverse-36345952f734b410e745ccfe093b9c12cc65c4fe.tar.bz2
manaverse-36345952f734b410e745ccfe093b9c12cc65c4fe.tar.xz
manaverse-36345952f734b410e745ccfe093b9c12cc65c4fe.zip
Add chat command for select party tab.
New chat command: /partytab Aliast: /partychattab
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 b18a71218..3091bb108 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -506,4 +506,11 @@ impHandler0(chatGmTab)
return true;
}
+impHandler0(chatPartyTab)
+{
+ if (chatWindow)
+ chatWindow->selectTabByType(ChatTabType::PARTY);
+ return true;
+}
+
} // namespace Actions