Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsminto2005-07-15 15:25:58 -0400
committersminto2005-07-15 15:25:58 -0400
commitff832fb11da934afb25235f85d1dcd662df3861e (patch)
tree13a0ca641c445a7e142d921cb3a316483f3954d5 /org.eclipse.mylyn.tasks.ui
parentac3c0e6230ab1a3fe148164d369dfb73e09227c6 (diff)
downloadorg.eclipse.mylyn.tasks-ff832fb11da934afb25235f85d1dcd662df3861e.tar.gz
org.eclipse.mylyn.tasks-ff832fb11da934afb25235f85d1dcd662df3861e.tar.xz
org.eclipse.mylyn.tasks-ff832fb11da934afb25235f85d1dcd662df3861e.zip
fixed Bug# 104057 on startup active task's context is inactive
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/internal/DefaultTaskListExternalizer.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/internal/DefaultTaskListExternalizer.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/internal/DefaultTaskListExternalizer.java
index 96109eb91..3d2bbd27f 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/internal/DefaultTaskListExternalizer.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/internal/DefaultTaskListExternalizer.java
@@ -19,6 +19,7 @@ import org.eclipse.mylar.tasks.AbstractCategory;
import org.eclipse.mylar.tasks.ITask;
import org.eclipse.mylar.tasks.ITaskListExternalizer;
import org.eclipse.mylar.tasks.Task;
+import org.eclipse.mylar.tasks.ui.actions.TaskActivateAction;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
@@ -187,6 +188,7 @@ public class DefaultTaskListExternalizer implements ITaskListExternalizer {
if (element.getAttribute(ACTIVE).compareTo(TRUE) == 0) {
task.setActive(true);
tlist.setActive(task, true);
+ new TaskActivateAction(task).run();
} else {
task.setActive(false);
}

Back to the top