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/gui/windows/chatwindow.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/windows/chatwindow.h') diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h index d4dfa602d..df8ba8b06 100644 --- a/src/gui/windows/chatwindow.h +++ b/src/gui/windows/chatwindow.h @@ -29,6 +29,8 @@ #include "gui/widgets/window.h" +#include "gui/widgets/tabs/chat/chattabtype.h" + #include "listeners/actionlistener.h" #include "listeners/attributelistener.h" #include "listeners/configlistener.h" @@ -285,7 +287,7 @@ class ChatWindow final : public Window, bool isTabPresent(const ChatTab *const tab) const A_WARN_UNUSED; - void selectGeneralTab(); + void selectTabByType(const ChatTabType::Type &type); void attributeChanged(const int id, const int oldVal, -- cgit v1.2.3-70-g09d2