From 1db8072c112d0bc5b3cbf3b3151dfa8be9419189 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 11 Jan 2015 15:48:13 +0300 Subject: Add chat command for select debug tab. New chat command: /debugtab Alias: /debugchattab --- src/actions/chat.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/actions/chat.cpp') diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp index d5b3d9475..0e719fb75 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -467,7 +467,14 @@ impHandler0(clearChat) impHandler0(chatGeneralTab) { if (chatWindow) - chatWindow->selectGeneralTab(); + chatWindow->selectTabByType(ChatTabType::INPUT); + return true; +} + +impHandler0(chatDebugTab) +{ + if (chatWindow) + chatWindow->selectTabByType(ChatTabType::DEBUG); return true; } -- cgit v1.2.3-70-g09d2