diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/chat.cpp | 6 | ||||
-rw-r--r-- | src/actions/chat.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp index f6135c674..bad56e7c0 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -457,4 +457,10 @@ impHandler(addText) return true; } +impHandler(clearChat) +{ + if (chatWindow) + chatWindow->clearTab(); +} + } // namespace Actions diff --git a/src/actions/chat.h b/src/actions/chat.h index 12fa35963..01c77fe21 100644 --- a/src/actions/chat.h +++ b/src/actions/chat.h @@ -48,6 +48,7 @@ namespace Actions decHandler(toggle); decHandler(kickParty); decHandler(addText); + decHandler(clearChat); } // namespace Actions #undef decHandler |