diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-16 00:45:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-16 00:45:25 +0300 |
commit | 8a068ecd9dd6d41ba49f258107b09b98a8ea1a6d (patch) | |
tree | f966d817a42a069fef3958f241ae256c255e6ef1 /src/keyboardconfig.cpp | |
parent | d074efe8597cbc21375c59d7e6ee17296b4c4899 (diff) | |
download | manaplus-8a068ecd9dd6d41ba49f258107b09b98a8ea1a6d.tar.gz manaplus-8a068ecd9dd6d41ba49f258107b09b98a8ea1a6d.tar.bz2 manaplus-8a068ecd9dd6d41ba49f258107b09b98a8ea1a6d.tar.xz manaplus-8a068ecd9dd6d41ba49f258107b09b98a8ea1a6d.zip |
Add hotkey to close selected chat tab.
Diffstat (limited to 'src/keyboardconfig.cpp')
-rw-r--r-- | src/keyboardconfig.cpp | 3 |
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"), |