Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2016-06-09 19:22:07 +0000
committerFrank Becker2016-06-09 19:22:07 +0000
commitfbeec07e000d6c4d888bdd643237c06a6d6ebf21 (patch)
tree06fe2f68812017bec8d4f3c6504db176e542a48f /org.eclipse.mylyn.bugzilla.ui
parentee58f27b5dd6f493a23240024655e8d37293356d (diff)
downloadorg.eclipse.mylyn.tasks-fbeec07e000d6c4d888bdd643237c06a6d6ebf21.tar.gz
org.eclipse.mylyn.tasks-fbeec07e000d6c4d888bdd643237c06a6d6ebf21.tar.xz
org.eclipse.mylyn.tasks-fbeec07e000d6c4d888bdd643237c06a6d6ebf21.zip
495613: Bugzilla "Add self to CC" doesn't work when creating new bugs
Change-Id: I31e7eada9a49f5496311756bd40f9161598ac692 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=495613
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui')
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaPeoplePart.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaPeoplePart.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaPeoplePart.java
index 374bb79ab..5c7854404 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaPeoplePart.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaPeoplePart.java
@@ -53,7 +53,9 @@ public class BugzillaPeoplePart extends TaskEditorPeoplePart {
attributes.add(getTaskData().getRoot().getMappedAttribute(BugzillaAttribute.QA_CONTACT.getKey()));
}
attributes.add(getTaskData().getRoot().getMappedAttribute(BugzillaAttribute.NEWCC.getKey()));
- addSelfToCC(attributes);
+ if (!getTaskData().isNew()) {
+ addSelfToCC(attributes);
+ }
attributes.add(getTaskData().getRoot().getMappedAttribute(BugzillaAttribute.CC.getKey()));
for (TaskAttribute attribute : allAttributes.values()) {

Back to the top