summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/chat.cpp9
-rw-r--r--src/actions/chat.h1
2 files changed, 9 insertions, 1 deletions
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;
}
diff --git a/src/actions/chat.h b/src/actions/chat.h
index ccad18739..6f6708a99 100644
--- a/src/actions/chat.h
+++ b/src/actions/chat.h
@@ -50,6 +50,7 @@ namespace Actions
decHandler(addText);
decHandler(clearChat);
decHandler(chatGeneralTab);
+ decHandler(chatDebugTab);
} // namespace Actions
#undef decHandler