Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2007-08-23 01:13:02 +0000
committermkersten2007-08-23 01:13:02 +0000
commit78acf5298b102d74410cc50fc05c7b6de70ae908 (patch)
tree16b8840bded6a4f59c6b2f141bf74da031114f66
parent941feca7cb482f292840da1472b29d3bb23a537e (diff)
downloadorg.eclipse.mylyn.tasks-78acf5298b102d74410cc50fc05c7b6de70ae908.tar.gz
org.eclipse.mylyn.tasks-78acf5298b102d74410cc50fc05c7b6de70ae908.tar.xz
org.eclipse.mylyn.tasks-78acf5298b102d74410cc50fc05c7b6de70ae908.zip
RESOLVED - bug 198801: Show All menu for Working Sets in Tasklist doesn't work
https://bugs.eclipse.org/bugs/show_bug.cgi?id=198801
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ToggleAllWorkingSetsAction.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ToggleAllWorkingSetsAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ToggleAllWorkingSetsAction.java
index 14bad17f5..170ea269d 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ToggleAllWorkingSetsAction.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/ToggleAllWorkingSetsAction.java
@@ -41,14 +41,14 @@ public class ToggleAllWorkingSetsAction extends Action {
Iterator<IWorkingSet> iter = newList.iterator();
while (iter.hasNext()) {
IWorkingSet workingSet = iter.next();
- if (workingSet != null && workingSet.getId().equalsIgnoreCase(TaskWorkingSetUpdater.ID_TASK_WORKING_SET)) {
+ if (workingSet != null && workingSet.getId() != null && workingSet.getId().equalsIgnoreCase(TaskWorkingSetUpdater.ID_TASK_WORKING_SET)) {
tempList.add(workingSet);
}
}
newList.removeAll(tempList);
window.getActivePage().setWorkingSets(newList.toArray(new IWorkingSet[newList.size()]));
}
-
+
@Override
public void runWithEvent(Event event) {
run();

Back to the top