From 1e9f97409f00b89c240055cd4eb15a4609c3c183 Mon Sep 17 00:00:00 2001 From: DeaDDooMER Date: Sun, 25 Feb 2018 15:13:13 +0300 Subject: [PATCH] TextEdit now shows keyboard on android --- src/game/g_gui.pas | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/g_gui.pas b/src/game/g_gui.pas index 78554a7..6f4dfbe 100644 --- a/src/game/g_gui.pas +++ b/src/game/g_gui.pas @@ -20,7 +20,7 @@ interface uses {$IFDEF USE_MEMPOOL}mempool,{$ENDIF} - e_graphics, e_input, e_log, g_playermodel, g_basic, MAPDEF, utils; + e_graphics, e_input, e_log, g_playermodel, g_basic, g_touch, MAPDEF, utils; const MAINMENU_HEADER_COLOR: TRGB = (R:255; G:255; B:255); @@ -2325,6 +2325,8 @@ begin end; end; end; + + g_Touch_ShowKeyboard(FWindow.FActiveControl = Self); end; procedure TGUIEdit.SetText(Text: string); -- 2.29.2