summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/chat.cpp10
-rw-r--r--src/actions/chat.h1
2 files changed, 11 insertions, 0 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index 858b5acbb..74f3fc691 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -232,4 +232,14 @@ impHandler(query)
return true;
}
+impHandler0(clearChatTab)
+{
+ if (chatWindow)
+ {
+ chatWindow->clearTab();
+ return true;
+ }
+ return false;
+}
+
} // namespace Actions
diff --git a/src/actions/chat.h b/src/actions/chat.h
index fe35021be..8a5e3a3c8 100644
--- a/src/actions/chat.h
+++ b/src/actions/chat.h
@@ -37,6 +37,7 @@ namespace Actions
decHandler(scrollChatDown);
decHandler(msg);
decHandler(query);
+ decHandler(clearChatTab);
} // namespace Actions
#undef decHandler