Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2004-10-01 18:57:55 +0000
committerMichael Valenta2004-10-01 18:57:55 +0000
commit039f71432b2271cb279ef5ef3bc72fac7babcfcd (patch)
treeea35de98398e74e25a0ad895ad35d29667515404
parent427c71d774c19a8f191c7ca2dc7007d24c10a5b2 (diff)
downloadeclipse.platform.team-039f71432b2271cb279ef5ef3bc72fac7babcfcd.tar.gz
eclipse.platform.team-039f71432b2271cb279ef5ef3bc72fac7babcfcd.tar.xz
eclipse.platform.team-039f71432b2271cb279ef5ef3bc72fac7babcfcd.zip
*** empty log message ***
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ActiveChangeSetCollector.java2
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ChangeSetModelProvider.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ActiveChangeSetCollector.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ActiveChangeSetCollector.java
index 3da52fd7f..776554889 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ActiveChangeSetCollector.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ActiveChangeSetCollector.java
@@ -183,6 +183,8 @@ public class ActiveChangeSetCollector implements ISyncInfoSetChangeListener {
set.getSyncInfoSet().addSyncSetChangedListener(this);
activeSets.put(set, sis);
}
+ sis.clear();
+ sis.addAll(select(set.getSyncInfoSet().getSyncInfos()));
return sis;
}
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ChangeSetModelProvider.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ChangeSetModelProvider.java
index d18ef7194..67c73be27 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ChangeSetModelProvider.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/ChangeSetModelProvider.java
@@ -438,7 +438,7 @@ public class ChangeSetModelProvider extends CompositeModelProvider {
ISynchronizeModelElement node = getModelElement(set);
if (node != null) {
ISynchronizeModelProvider provider = getProviderRootedAt(node);
- clearModelObjects(node);
+ removeFromViewer(node);
removeProvider(provider);
}
}

Back to the top