diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-23 15:27:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-23 15:27:04 +0300 |
commit | 35e14007fe44877b160c48db1d4106eba6306859 (patch) | |
tree | bd3692d2c37aab8e38a2444f0cdf0f0ed5ec4232 /src/actions/chat.cpp | |
parent | dded1355609c8f23281f78ec719b09b1693ea717 (diff) | |
download | mv-35e14007fe44877b160c48db1d4106eba6306859.tar.gz mv-35e14007fe44877b160c48db1d4106eba6306859.tar.bz2 mv-35e14007fe44877b160c48db1d4106eba6306859.tar.xz mv-35e14007fe44877b160c48db1d4106eba6306859.zip |
Move chat command /ignoreallwhispers into actions.
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r-- | src/actions/chat.cpp | 11 |
1 files changed, 11 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()) |