diff options
author | Jaxsun McCarthy Huggan | 2016-03-31 17:42:31 +0000 |
---|---|---|
committer | Jaxsun McCarthy Huggan | 2016-03-31 18:27:21 +0000 |
commit | 01e7acc03a53809081fa23e4e3255ff5eb920582 (patch) | |
tree | 8fae061ac47eb461d6c4d5d7c760fc82d2b0481e /org.eclipse.mylyn.tasks.ui | |
parent | f76a87b4d57bc7f4cbc17fba249ac1040b7ba18c (diff) | |
download | org.eclipse.mylyn.tasks-01e7acc03a53809081fa23e4e3255ff5eb920582.tar.gz org.eclipse.mylyn.tasks-01e7acc03a53809081fa23e4e3255ff5eb920582.tar.xz org.eclipse.mylyn.tasks-01e7acc03a53809081fa23e4e3255ff5eb920582.zip |
490820: always set password field echo character if possible
Change-Id: Idac6aec404f7dfaeec89935e4f13cc0b56990940
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=490820
Signed-off-by: Jaxsun McCarthy Huggan <jaxsun.mccarthy@tasktop.com>
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r-- | org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositorySettingsPage.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositorySettingsPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositorySettingsPage.java index e8303d243..330051107 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositorySettingsPage.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractRepositorySettingsPage.java @@ -560,10 +560,12 @@ public abstract class AbstractRepositorySettingsPage extends AbstractTaskReposit } }); - if (needsRepositoryCredentials()) { + if (repositoryPasswordEditor != null) { // bug 131656: must set echo char after setting value on Mac ((RepositoryStringFieldEditor) repositoryPasswordEditor).getTextControl().setEchoChar('*'); + } + if (needsRepositoryCredentials()) { if (needsAnonymousLogin()) { // do this after username and password widgets have been intialized if (repository != null) { |