Jump to textfield in password prompt.
This commit is contained in:
@@ -113,6 +113,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
passwordField = panel.GetOrNull<PasswordFieldWidget>("PASSWORD");
|
||||
if (passwordField != null)
|
||||
{
|
||||
passwordField.TakeKeyboardFocus();
|
||||
passwordField.Text = orderManager.Password;
|
||||
passwordField.IsVisible = () => orderManager.AuthenticationFailed;
|
||||
var passwordLabel = widget.Get<LabelWidget>("PASSWORD_LABEL");
|
||||
|
||||
Reference in New Issue
Block a user