mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #3437
Vincas Dargis (1): fix(loginscreen.cpp): fix password input focus after mouse click
This commit is contained in:
commit
dc26379eeb
|
@ -235,6 +235,7 @@ void LoginScreen::onLogin()
|
||||||
{
|
{
|
||||||
QMessageBox::critical(this, tr("Couldn't load this profile"),
|
QMessageBox::critical(this, tr("Couldn't load this profile"),
|
||||||
tr("Wrong password."));
|
tr("Wrong password."));
|
||||||
|
ui->loginPassword->setFocus();
|
||||||
ui->loginPassword->selectAll();
|
ui->loginPassword->selectAll();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user