diff options
author | Michael Valenta | 2006-07-06 18:29:02 +0000 |
---|---|---|
committer | Michael Valenta | 2006-07-06 18:29:02 +0000 |
commit | 4e65f71fa10d7dfa0970b9ea83c02010f929af00 (patch) | |
tree | 38710bc41025d308a8794fdcd0d8c023e072cad9 | |
parent | 9572ade2476f3eb8f1acc812cceb314b00fae6a3 (diff) | |
download | eclipse.platform.team-4e65f71fa10d7dfa0970b9ea83c02010f929af00.tar.gz eclipse.platform.team-4e65f71fa10d7dfa0970b9ea83c02010f929af00.tar.xz eclipse.platform.team-4e65f71fa10d7dfa0970b9ea83c02010f929af00.zip |
Bug 140797 [Sync] Incorrect title when syncing
-rw-r--r-- | bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/ModelSynchronizeParticipant.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/ModelSynchronizeParticipant.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/ModelSynchronizeParticipant.java index 3fed96613..126710202 100644 --- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/ModelSynchronizeParticipant.java +++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/synchronize/ModelSynchronizeParticipant.java @@ -355,7 +355,8 @@ public class ModelSynchronizeParticipant extends int mappingCount = mappings.length; if (mappingCount == getContext().getScope().getMappings().length) { // Assume we are refreshing everything and only use the input mapping count - mappingCount = getContext().getScope().getInputMappings().length; + mappings = getContext().getScope().getInputMappings(); + mappingCount = mappings.length; } if (mappingCount == 1) { return NLS.bind(TeamUIMessages.Participant_synchronizingMoreDetails, new String[] { getShortName(), Utils.getLabel(mappings[0]) }); |