Focus on close button to prevent enter game state if enter pressed

This commit is contained in:
Benau 2020-07-17 01:33:04 +08:00
parent 73735a079a
commit df25707873

View File

@ -97,6 +97,7 @@ void InitAndroidDialog::beforeAddingWidgets()
}
updateValues();
getWidget("close")->setFocusForPlayer(PLAYER_ID_GAME_MASTER);
}
// -----------------------------------------------------------------------------