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/game.cpp | |
parent | d074efe8597cbc21375c59d7e6ee17296b4c4899 (diff) | |
download | mv-8a068ecd9dd6d41ba49f258107b09b98a8ea1a6d.tar.gz mv-8a068ecd9dd6d41ba49f258107b09b98a8ea1a6d.tar.bz2 mv-8a068ecd9dd6d41ba49f258107b09b98a8ea1a6d.tar.xz mv-8a068ecd9dd6d41ba49f258107b09b98a8ea1a6d.zip |
Add hotkey to close selected chat tab.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 259317545..623d2a069 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -716,6 +716,11 @@ void Game::handleInput() socialWindow->nextTab(); return; } + else if (keyboard.isKeyActive(keyboard.KEY_CLOSE_CHAT_TAB)) + { + chatWindow->closeTab(); + return; + } } const int tKey = keyboard.getKeyIndex(event.key.keysym.sym); |