diff --git a/OpenRA.Mods.Common/Widgets/Logic/ConnectionLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/ConnectionLogic.cs index 86259b7916..a1bdde2689 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/ConnectionLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/ConnectionLogic.cs @@ -113,6 +113,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic passwordField = panel.GetOrNull("PASSWORD"); if (passwordField != null) { + passwordField.TakeKeyboardFocus(); passwordField.Text = orderManager.Password; passwordField.IsVisible = () => orderManager.AuthenticationFailed; var passwordLabel = widget.Get("PASSWORD_LABEL");