summaryrefslogtreecommitdiff
path: root/src/actionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r--src/actionmanager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index 3bbc30ffc..eb2501b53 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -1111,7 +1111,10 @@ impHandler0(showKeyboard)
{
#ifdef ANDROID
#ifdef USE_SDL2
-// +++ need add support
+ if (SDL_IsTextInputActive())
+ SDL_StopTextInput();
+ else
+ SDL_StartTextInput();
#else
SDL_ANDROID_ToggleScreenKeyboardTextInput(nullptr);
#endif