Arsenal numpad enter for search (#5928)

This commit is contained in:
commy2 2017-12-19 18:35:32 +01:00 committed by jonpas
parent 47051d9c6d
commit e2a863751f

View File

@ -86,6 +86,7 @@ if (!GVAR(leftSearchbarFocus) && {!GVAR(rightSearchbarFocus)}) then {
case (_keyPressed == DIK_BACKSPACE): {
_return = false;
};
case (_keyPressed == DIK_NUMPADENTER);
case (_keyPressed == DIK_RETURN): {
if (GVAR(leftSearchbarFocus)) then {
[_display, _display displayCtrl IDC_leftSearchbar] call FUNC(handleSearchBar);