mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Trim newlines from password when pressing enter
This commit is contained in:
parent
e0e86de21d
commit
d36c2cac99
@ -550,6 +550,7 @@ impl MainMenuUi {
|
||||
self.password = password;
|
||||
},
|
||||
TextBoxEvent::Enter => {
|
||||
self.password.pop();
|
||||
login!();
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user