From 5dd673aa6abe2a070de45388a885d03fcc037d70 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 21 May 2014 23:53:20 +0300 Subject: allow open updater window from inside game. --- src/input/inputaction.h | 1 + src/input/keyboarddata.h | 7 +++++++ 2 files changed, 8 insertions(+) (limited to 'src/input') diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 5c3611233..963e43750 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -339,6 +339,7 @@ namespace InputAction GUI_F11, GUI_F12, WINDOW_ABOUT, + WINDOW_UPDATER, TOTAL }; } // namespace InputAction diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h index 636aa9268..76e5a15ab 100644 --- a/src/input/keyboarddata.h +++ b/src/input/keyboarddata.h @@ -2202,6 +2202,13 @@ static const KeyData keyData[InputAction::TOTAL] = { &ActionManager::aboutWindowShow, InputAction::NO_VALUE, 50, InputCondition::SHORTCUT0}, + {"keyWindowUpdater", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT | Input::GRP_GUI, + &ActionManager::updaterWindowShow, + InputAction::NO_VALUE, 50, + InputCondition::GAME} }; #endif // INPUT_KEYBOARDDATA_H -- cgit v1.2.3-60-g2f50