mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 08:45:44 +02:00
Bug 158756 - allow saving an empty password
This commit is contained in:
parent
1b098a02de
commit
1a8ea54117
1 changed files with 1 additions and 3 deletions
|
@ -204,8 +204,6 @@ public final class SystemPasswordPromptDialog extends SystemPromptDialog impleme
|
|||
SystemWidgetHelpers.createLabel(composite_prompts, "");
|
||||
savePasswordCB = SystemWidgetHelpers.createCheckBox(composite_prompts, 1, this, SystemResources.RESID_PASSWORD_SAVE_LABEL, SystemResources.RESID_PASSWORD_SAVE_TOOLTIP);
|
||||
savePasswordCB.setSelection(savePassword);
|
||||
// disable until the user enters something for consistency with the save user ID checkbox
|
||||
savePasswordCB.setEnabled(false);
|
||||
}
|
||||
|
||||
initializeInput();
|
||||
|
@ -449,7 +447,7 @@ public final class SystemPasswordPromptDialog extends SystemPromptDialog impleme
|
|||
controlInError = textPassword;
|
||||
}
|
||||
}
|
||||
if (getErrorMessage() != null) {
|
||||
if (controlInError != null) {
|
||||
controlInError.setFocus(); // validate methods already displayed error message
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue