summaryrefslogtreecommitdiff
path: root/src/keyboardconfig.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-16 00:45:25 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-16 00:45:25 +0300
commit8a068ecd9dd6d41ba49f258107b09b98a8ea1a6d (patch)
treef966d817a42a069fef3958f241ae256c255e6ef1 /src/keyboardconfig.cpp
parentd074efe8597cbc21375c59d7e6ee17296b4c4899 (diff)
downloadplus-8a068ecd9dd6d41ba49f258107b09b98a8ea1a6d.tar.gz
plus-8a068ecd9dd6d41ba49f258107b09b98a8ea1a6d.tar.bz2
plus-8a068ecd9dd6d41ba49f258107b09b98a8ea1a6d.tar.xz
plus-8a068ecd9dd6d41ba49f258107b09b98a8ea1a6d.zip
Add hotkey to close selected chat tab.
Diffstat (limited to 'src/keyboardconfig.cpp')
-rw-r--r--src/keyboardconfig.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/keyboardconfig.cpp b/src/keyboardconfig.cpp
index ff504ca2d..8ad38ab76 100644
--- a/src/keyboardconfig.cpp
+++ b/src/keyboardconfig.cpp
@@ -274,6 +274,9 @@ static KeyData const keyData[KeyboardConfig::KEY_TOTAL] = {
KeyboardConfig::GRP_DEFAULT | KeyboardConfig::GRP_GUI},
{"keyChatNextTab", SDLK_KP9, N_("Next Chat Tab"),
KeyboardConfig::GRP_DEFAULT | KeyboardConfig::GRP_GUI},
+ {"keyChatCloseTab", KeyboardConfig::KEY_NO_VALUE,
+ N_("Close current Chat Tab"), KeyboardConfig::GRP_DEFAULT
+ | KeyboardConfig::GRP_GUI},
{"keyChatPrevHistory", SDLK_KP7, N_("Previous chat line"),
KeyboardConfig::GRP_CHAT},
{"keyChatNextHistory", SDLK_KP9, N_("Next chat line"),