DEADSOFTWARE

TextEdit now shows keyboard on android
authorDeaDDooMER <deaddoomer@deadsoftware.ru>
Sun, 25 Feb 2018 12:13:13 +0000 (15:13 +0300)
committerKetmar Dark <ketmar@ketmar.no-ip.org>
Sat, 17 Mar 2018 00:04:27 +0000 (02:04 +0200)
src/game/g_gui.pas

index 78554a776ec932cc6f6a7f7647541a0848b80f11..6f4dfbe73c07022fc28be9e626340fe1b13a1348 100644 (file)
@@ -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);