Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2007-06-27 16:10:14 -0400
committerrelves2007-06-27 16:10:14 -0400
commit0a9a0671f3bd34b1372e5240624ab55fb754982a (patch)
treef0a6ff913e72beece7227e2322f9d864d71a5f13
parent93138ce47ab2181eab176432d0a7b4e2d9061f8b (diff)
downloadorg.eclipse.mylyn.tasks-0a9a0671f3bd34b1372e5240624ab55fb754982a.tar.gz
org.eclipse.mylyn.tasks-0a9a0671f3bd34b1372e5240624ab55fb754982a.tar.xz
org.eclipse.mylyn.tasks-0a9a0671f3bd34b1372e5240624ab55fb754982a.zip
NEW - bug 187602: Provide extension point for specifying duplicate detectors
https://bugs.eclipse.org/bugs/show_bug.cgi?id=187602
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
index 0b53d4c17..3e5de975f 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
@@ -399,12 +399,12 @@ public final class TaskEditor extends SharedHeaderFormEditor implements IBusyEdi
}
} else if (input instanceof RepositoryTaskEditorInput) {
AbstractTask task = ((RepositoryTaskEditorInput) input).getRepositoryTask();
- if (task != null) {
+ RepositoryTaskData data = ((RepositoryTaskEditorInput) input).getTaskData();
+ if (task != null && data != null && !data.isNew()) {
setFormHeaderImage(task.getConnectorKind());
setFormHeaderLabel(task);
return;
} else {
- RepositoryTaskData data = ((RepositoryTaskEditorInput) input).getTaskData();
if (data != null) {
setFormHeaderImage(data.getRepositoryKind());
setFormHeaderLabel(data);

Back to the top