Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-08-26 22:42:51 +0000
committerspingel2010-08-26 22:42:51 +0000
commit1a1cd225118c31b32d90ee1522035b72b6b68cd1 (patch)
treec11d8711caed9543febccaae24da6a650d46a844
parent42e5667680cf697f6a2a705e74c343db0450d988 (diff)
downloadorg.eclipse.mylyn.tasks-1a1cd225118c31b32d90ee1522035b72b6b68cd1.tar.gz
org.eclipse.mylyn.tasks-1a1cd225118c31b32d90ee1522035b72b6b68cd1.tar.xz
org.eclipse.mylyn.tasks-1a1cd225118c31b32d90ee1522035b72b6b68cd1.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