mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 15:23:05 +02:00
Update login to move focus to password on fail
This commit is contained in:
parent
45fdd00608
commit
fb42d9ccc6
1 changed files with 4 additions and 2 deletions
|
@ -68,8 +68,10 @@ void LoginDialog::handleLoginFailed() {
|
||||||
|
|
||||||
_ui->errorLabel->show();
|
_ui->errorLabel->show();
|
||||||
_ui->loginArea->setDisabled(false);
|
_ui->loginArea->setDisabled(false);
|
||||||
_ui->emailLineEdit->setFocus();
|
|
||||||
_ui->emailLineEdit->setSelection(0, _ui->emailLineEdit->maxLength());
|
// Move focus to password and select the entire line
|
||||||
|
_ui->passwordLineEdit->setFocus();
|
||||||
|
_ui->passwordLineEdit->setSelection(0, _ui->emailLineEdit->maxLength());
|
||||||
};
|
};
|
||||||
|
|
||||||
void LoginDialog::handleLoginClicked() {
|
void LoginDialog::handleLoginClicked() {
|
||||||
|
|
Loading…
Reference in a new issue