summaryrefslogtreecommitdiff
path: root/src/actions/chat.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 15:33:28 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-11 15:34:01 +0300
commit8de44a41862b3a0ff714e68169b6443a2a06b3aa (patch)
tree758d165a415b45dc15737948d7e74aae38da4a58 /src/actions/chat.cpp
parent890fd4c9ceab089de688b00acf5163d795ccec4a (diff)
downloadplus-8de44a41862b3a0ff714e68169b6443a2a06b3aa.tar.gz
plus-8de44a41862b3a0ff714e68169b6443a2a06b3aa.tar.bz2
plus-8de44a41862b3a0ff714e68169b6443a2a06b3aa.tar.xz
plus-8de44a41862b3a0ff714e68169b6443a2a06b3aa.zip
Add chat command for select general tab.
New chat command: /generaltab Aloases: /general /generalchattab
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 670e81356..d5b3d9475 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -464,4 +464,11 @@ impHandler0(clearChat)
return true;
}
+impHandler0(chatGeneralTab)
+{
+ if (chatWindow)
+ chatWindow->selectGeneralTab();
+ return true;
+}
+
} // namespace Actions