From 35e14007fe44877b160c48db1d4106eba6306859 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Aug 2014 15:27:04 +0300 Subject: Move chat command /ignoreallwhispers into actions. --- src/actions/chat.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/actions/chat.cpp') 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()) -- cgit v1.2.3-60-g2f50