forked from qt-creator/qt-creator
Gerrit: Set focus to password in AuthenticationDialog
... if the user name is already filled. Change-Id: I4ba72d8a74e583bd280b2fe3715bed81a78c516f Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
André Hartmann
parent
f6715fe52b
commit
861d30cf68
@@ -90,6 +90,8 @@ AuthenticationDialog::AuthenticationDialog(GerritServer *server) :
|
||||
const int result = server->testConnection();
|
||||
okButton->setEnabled(result == 200);
|
||||
});
|
||||
if (!ui->userLineEdit->text().isEmpty())
|
||||
ui->passwordLineEdit->setFocus();
|
||||
}
|
||||
|
||||
AuthenticationDialog::~AuthenticationDialog()
|
||||
|
||||
Reference in New Issue
Block a user