summaryrefslogtreecommitdiff
path: root/src/actions/chat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r--src/actions/chat.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index 5b70c2085..9895d8388 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -112,6 +112,17 @@ impHandler0(closeChatTab)
return false;
}
+impHandler0(closeAllChatTabs)
+{
+ if (chatWindow)
+ {
+ chatWindow->removeAllWhispers();
+ chatWindow->saveState();
+ return true;
+ }
+ return false;
+}
+
impHandler0(scrollChatUp)
{
if (chatWindow && chatWindow->isWindowVisible())