Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Davis2013-10-09 15:26:53 -0400
committerSam Davis2013-10-09 15:26:53 -0400
commit46ae3b2fc7da492fcb29aac4da1668aa6cdee2dd (patch)
tree18f11a3db97cb9f1281edc7cf7e73191036c7571 /org.eclipse.mylyn.tasks.ui
parentb2113a5ef5bcfff59ac88f31d3fab149d4b1ab97 (diff)
downloadorg.eclipse.mylyn.tasks-46ae3b2fc7da492fcb29aac4da1668aa6cdee2dd.tar.gz
org.eclipse.mylyn.tasks-46ae3b2fc7da492fcb29aac4da1668aa6cdee2dd.tar.xz
org.eclipse.mylyn.tasks-46ae3b2fc7da492fcb29aac4da1668aa6cdee2dd.zip
Add null check before calling taskListToolTip.dispose()
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListFilteredTree.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListFilteredTree.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListFilteredTree.java
index c4e0143fc..950214a33 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListFilteredTree.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListFilteredTree.java
@@ -149,7 +149,9 @@ public class TaskListFilteredTree extends AbstractFilteredTree {
}
actionGroup.setSelectionProvider(null);
activeTaskMenuManager.dispose();
- taskListToolTip.dispose();
+ if (taskListToolTip != null) {
+ taskListToolTip.dispose();
+ }
}
});
}

Back to the top