Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-08-26 18:40:12 -0400
committerspingel2010-08-26 18:40:12 -0400
commit65eb9d6f324b77bc9bf3462367c1c956fde847f7 (patch)
treebdbaaba4781b2ee567ce814c2f13fe7f83c8faf9
parent3785bc66fa82be39dc203d5a2641dfecc3efd3a2 (diff)
downloadorg.eclipse.mylyn.tasks-65eb9d6f324b77bc9bf3462367c1c956fde847f7.tar.gz
org.eclipse.mylyn.tasks-65eb9d6f324b77bc9bf3462367c1c956fde847f7.tar.xz
org.eclipse.mylyn.tasks-65eb9d6f324b77bc9bf3462367c1c956fde847f7.zip
NEW - bug 315514: validate settings button not disabled on the task repository settings page when a runnable is used
https://bugs.eclipse.org/bugs/show_bug.cgi?id=315514
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/TaskRepositoryWizardDialog.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/TaskRepositoryWizardDialog.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/TaskRepositoryWizardDialog.java
index 01f6f2ef0..dd92a51a2 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/TaskRepositoryWizardDialog.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/TaskRepositoryWizardDialog.java
@@ -151,8 +151,7 @@ public class TaskRepositoryWizardDialog extends WizardDialog {
HashMap<String, Boolean> savedEnabledState = null;
if (getShell() != null) {
savedEnabledState = new HashMap<String, Boolean>();
- if (validateServerButton != null && getShell().getDisplay().getFocusControl() == validateServerButton
- && validateServerButton.getShell() == getShell()) {
+ if (validateServerButton != null && validateServerButton.getShell() == getShell()) {
savedEnabledState.put(VALIDATE_BUTTON_KEY, validateServerButton.getEnabled());
validateServerButton.setEnabled(false);
}

Back to the top