Make movement keys not function in text input mode

This commit is contained in:
scrawl 2017-11-10 21:48:11 +01:00
parent b9baee51d5
commit 1afbf99f74

View file

@ -176,6 +176,8 @@ namespace MWInput
void InputManager::handleGuiArrowKey(int action) void InputManager::handleGuiArrowKey(int action)
{ {
if (SDL_IsTextInputActive())
return;
MyGUI::KeyCode key; MyGUI::KeyCode key;
switch (action) switch (action)
{ {