diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-08 16:26:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-08 16:26:46 +0300 |
commit | 899ad3c232a1d60111b646637a53698234cd4eea (patch) | |
tree | 7209b7ad4f9d2963c58dcf3547c3b34ef1edaba9 /src/input/keyboarddata.h | |
parent | 82a4015692e630f36f94a55590c1b59b958c5a17 (diff) | |
download | plus-899ad3c232a1d60111b646637a53698234cd4eea.tar.gz plus-899ad3c232a1d60111b646637a53698234cd4eea.tar.bz2 plus-899ad3c232a1d60111b646637a53698234cd4eea.tar.xz plus-899ad3c232a1d60111b646637a53698234cd4eea.zip |
Add action for open trade window.
Default key unassigned.
Diffstat (limited to 'src/input/keyboarddata.h')
-rw-r--r-- | src/input/keyboarddata.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h index 87202e8f2..e6bafb61b 100644 --- a/src/input/keyboarddata.h +++ b/src/input/keyboarddata.h @@ -2079,7 +2079,14 @@ static const KeyData keyData[Input::KEY_TOTAL] = { Input::GRP_DEFAULT | Input::GRP_GUI, &ActionManager::nextCommandsTab, Input::KEY_NO_VALUE, 50, - COND_NOINPUT | COND_INGAME} + COND_NOINPUT | COND_INGAME}, + {"keyOpenTrade", + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + INPUT_UNKNOWN, Input::KEY_NO_VALUE, + Input::GRP_DEFAULT, + &ActionManager::openTrade, + Input::KEY_NO_VALUE, 50, + COND_GAME | COND_NOTARGET}, }; #endif // INPUT_KEYBOARDDATA_H |