Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui/src/org/eclipse')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetPage.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetPage.java
index 3b1b0a52c..5cbec3e4c 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetPage.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/workingsets/TaskWorkingSetPage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2004, 2009 Eugene Kuleshov and others.
+ * Copyright (c) 2004, 2013 Eugene Kuleshov and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -413,7 +413,6 @@ public class TaskWorkingSetPage extends WizardPage implements IWorkingSetPage {
validateInput();
}
});
- text.setFocus();
// text.setBackground(FieldAssistColors.getRequiredFieldBackgroundColor(text));
label = new Label(composite, SWT.WRAP);
@@ -496,6 +495,9 @@ public class TaskWorkingSetPage extends WizardPage implements IWorkingSetPage {
if (workingSet != null) {
text.setText(workingSet.getName());
+ treeViewer.getControl().setFocus();
+ } else {
+ text.setFocus();
}
setPageComplete(false);

Back to the top