diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-11 16:53:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-11 16:53:39 +0300 |
commit | 073ac78da73bb2901b48c311a6f8ee7ccca5d294 (patch) | |
tree | e6cd9a4c7e99c81d581ed5bfff2ae2154b9faf70 /src/actions/chat.cpp | |
parent | ab2757fe1ec538809b0bf4ec81a1e51c57b9bee3 (diff) | |
download | mv-073ac78da73bb2901b48c311a6f8ee7ccca5d294.tar.gz mv-073ac78da73bb2901b48c311a6f8ee7ccca5d294.tar.bz2 mv-073ac78da73bb2901b48c311a6f8ee7ccca5d294.tar.xz mv-073ac78da73bb2901b48c311a6f8ee7ccca5d294.zip |
Add chat command for select gm tab.
New chat command: /gmtab
Alias: /gmchattab
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 336b03065..b18a71218 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -499,4 +499,11 @@ impHandler0(chatLangTab) return true; } +impHandler0(chatGmTab) +{ + if (chatWindow) + chatWindow->selectTabByType(ChatTabType::GM); + return true; +} + } // namespace Actions |