From b8ab802f2d8395c0a312f5a398a26ca52f262c38 Mon Sep 17 00:00:00 2001 From: Benau Date: Sun, 26 Jul 2020 01:07:36 +0800 Subject: [PATCH] Don't focus name textbox first in register screen Because it will open screen keybord in mobile stk --- src/states_screens/online/register_screen.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/states_screens/online/register_screen.cpp b/src/states_screens/online/register_screen.cpp index 970c41ffb..f1c62d424 100644 --- a/src/states_screens/online/register_screen.cpp +++ b/src/states_screens/online/register_screen.cpp @@ -121,8 +121,6 @@ void RegisterScreen::init() onDialogClose(); makeEntryFieldsVisible(); - local_username->setFocusForPlayer(PLAYER_ID_GAME_MASTER); - // The behaviour of the screen is slightly different at startup, i.e. // when it is the first screen: cancel will exit the game, and in // this case no 'back' error should be shown.