Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Davis2014-05-21 19:40:17 -0400
committerSam Davis2014-05-21 19:40:17 -0400
commit34ccba4e34a494f33cfe72afc56478fb67b4479f (patch)
tree8149d0e331bb4d63c3819119fde7b9bafbfd1997
parente7c8671d9bb4abebb940498f6feb2133d5a419bb (diff)
downloadorg.eclipse.mylyn.tasks-34ccba4e34a494f33cfe72afc56478fb67b4479f.tar.gz
org.eclipse.mylyn.tasks-34ccba4e34a494f33cfe72afc56478fb67b4479f.tar.xz
org.eclipse.mylyn.tasks-34ccba4e34a494f33cfe72afc56478fb67b4479f.zip
Show only my tasks should show local tasks
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/MyTasksFilter.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/MyTasksFilter.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/MyTasksFilter.java
index b8273a5c7..cec6d8673 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/MyTasksFilter.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/MyTasksFilter.java
@@ -12,6 +12,7 @@
package org.eclipse.mylyn.internal.tasks.ui;
import org.eclipse.mylyn.internal.tasks.core.AbstractTask;
+import org.eclipse.mylyn.internal.tasks.core.LocalTask;
import org.eclipse.mylyn.tasks.core.TaskRepository;
import org.eclipse.mylyn.tasks.ui.TasksUi;
@@ -23,6 +24,9 @@ public class MyTasksFilter extends AbstractTaskListFilter {
@Override
public boolean select(Object parent, Object element) {
+ if (element instanceof LocalTask) {
+ return true;
+ }
if (element instanceof AbstractTask) {
AbstractTask task = (AbstractTask) element;
String owner = task.getOwner();

Back to the top