Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Dykstal2006-11-07 20:06:31 +0000
committerDavid Dykstal2006-11-07 20:06:31 +0000
commite60e315dee8545c1ebbe897540ee14de2947f41a (patch)
tree3c1f5f99dbfe6cb97d96d7c1dd5816c98fcc2209
parentb8a078229a70828686f25a34213b814e213096d9 (diff)
downloadorg.eclipse.tm-e60e315dee8545c1ebbe897540ee14de2947f41a.tar.gz
org.eclipse.tm-e60e315dee8545c1ebbe897540ee14de2947f41a.tar.xz
org.eclipse.tm-e60e315dee8545c1ebbe897540ee14de2947f41a.zip
Bug 160812 - initially select the entire contents of the userid and password fields in the password prompt dialog.
-rw-r--r--rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java
index e4100e848..e6b2e8920 100644
--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java
+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java
@@ -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());
}
}

Back to the top