diff --git a/src/game/g_gui.pas b/src/game/g_gui.pas
index 494839e01324c73d6281594ff0db2a9c60d54d49..07a03c19081dcbf21589dd8569ec03946c26b5c2 100644 (file)
--- a/src/game/g_gui.pas
+++ b/src/game/g_gui.pas
end;
end;
- g_GUIGrabInput := FWindow.FActiveControl = Self;
+ g_GUIGrabInput := (@FOnEnterEvent = nil) and (FWindow.FActiveControl = Self);
g_Touch_ShowKeyboard(g_GUIGrabInput)
end;