diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-11 15:48:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-11 15:48:13 +0300 |
commit | 1db8072c112d0bc5b3cbf3b3151dfa8be9419189 (patch) | |
tree | 6fa6980acc0db8f1ee61a0b059bec1215fdc4731 /src/gui/windows/chatwindow.h | |
parent | 8de44a41862b3a0ff714e68169b6443a2a06b3aa (diff) | |
download | plus-1db8072c112d0bc5b3cbf3b3151dfa8be9419189.tar.gz plus-1db8072c112d0bc5b3cbf3b3151dfa8be9419189.tar.bz2 plus-1db8072c112d0bc5b3cbf3b3151dfa8be9419189.tar.xz plus-1db8072c112d0bc5b3cbf3b3151dfa8be9419189.zip |
Add chat command for select debug tab.
New chat command: /debugtab
Alias: /debugchattab
Diffstat (limited to 'src/gui/windows/chatwindow.h')
-rw-r--r-- | src/gui/windows/chatwindow.h | 4 |
1 files changed, 3 insertions, 1 deletions
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, |