summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/chat.cpp11
-rw-r--r--src/actions/chat.h1
2 files changed, 12 insertions, 0 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index 9895d8388..d69895af3 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -123,6 +123,17 @@ impHandler0(closeAllChatTabs)
return false;
}
+impHandler0(ignoreAllWhispers)
+{
+ if (chatWindow)
+ {
+ chatWindow->ignoreAllWhispers();
+ chatWindow->saveState();
+ return true;
+ }
+ return false;
+}
+
impHandler0(scrollChatUp)
{
if (chatWindow && chatWindow->isWindowVisible())
diff --git a/src/actions/chat.h b/src/actions/chat.h
index bdb62e209..8d0003e73 100644
--- a/src/actions/chat.h
+++ b/src/actions/chat.h
@@ -32,6 +32,7 @@ namespace Actions
decHandler(nextChatTab);
decHandler(closeChatTab);
decHandler(closeAllChatTabs);
+ decHandler(ignoreAllWhispers);
decHandler(scrollChatUp);
decHandler(scrollChatDown);
} // namespace Actions