1
0
Fork 0
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:
David Dykstal 2006-11-07 20:06:31 +00:00
parent b8a078229a
commit e60e315dee

View file

@ -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());
}
}