diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/chat.cpp | 7 | ||||
-rw-r--r-- | src/actions/chat.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp index 670e81356..d5b3d9475 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -464,4 +464,11 @@ impHandler0(clearChat) return true; } +impHandler0(chatGeneralTab) +{ + if (chatWindow) + chatWindow->selectGeneralTab(); + return true; +} + } // namespace Actions diff --git a/src/actions/chat.h b/src/actions/chat.h index 5fe828555..ccad18739 100644 --- a/src/actions/chat.h +++ b/src/actions/chat.h @@ -49,6 +49,7 @@ namespace Actions decHandler(kickParty); decHandler(addText); decHandler(clearChat); + decHandler(chatGeneralTab); } // namespace Actions #undef decHandler |