mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 23:55:26 +02:00
Bug 160812 - initially select the entire contents of the userid and password fields in the password prompt dialog.
This commit is contained in:
parent
b8a078229a
commit
e60e315dee
1 changed files with 2 additions and 0 deletions
|
@ -257,9 +257,11 @@ public final class SystemPasswordPromptDialog extends SystemPromptDialog impleme
|
|||
}
|
||||
if (textUserId != null && userId != null) {
|
||||
textUserId.setText(userId);
|
||||
textUserId.setSelection(0, userId.length());
|
||||
}
|
||||
if (textPassword != null && password != null) {
|
||||
textPassword.setText(password);
|
||||
textPassword.setSelection(0, password.length());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue