Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsuen2007-06-20 13:29:51 -0400
committerrsuen2007-06-20 13:29:51 -0400
commitcacb5013df53ceaa49e0b0a64f8428cc15f08f40 (patch)
treed3b5bec4cec5028b53724e50d28066230cb095d1
parent6c0e793d1adbe4bfeda6a858fc1d838e6350eea2 (diff)
downloadorg.eclipse.ecf-cacb5013df53ceaa49e0b0a64f8428cc15f08f40.tar.gz
org.eclipse.ecf-cacb5013df53ceaa49e0b0a64f8428cc15f08f40.tar.xz
org.eclipse.ecf-cacb5013df53ceaa49e0b0a64f8428cc15f08f40.zip
Fix bug #193412 by applying a full refresh if there are filters so that the filters can filter out elements as necessary.
-rw-r--r--framework/bundles/org.eclipse.ecf.presence.ui/src/org/eclipse/ecf/presence/ui/MultiRosterView.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/bundles/org.eclipse.ecf.presence.ui/src/org/eclipse/ecf/presence/ui/MultiRosterView.java b/framework/bundles/org.eclipse.ecf.presence.ui/src/org/eclipse/ecf/presence/ui/MultiRosterView.java
index ec20f1fd5..ad8a16457 100644
--- a/framework/bundles/org.eclipse.ecf.presence.ui/src/org/eclipse/ecf/presence/ui/MultiRosterView.java
+++ b/framework/bundles/org.eclipse.ecf.presence.ui/src/org/eclipse/ecf/presence/ui/MultiRosterView.java
@@ -948,6 +948,10 @@ public class MultiRosterView extends ViewPart implements IMultiRosterViewPart {
if (c != null && !c.isDisposed()) {
if (val != null) {
treeViewer.refresh(val, labels);
+ ViewerFilter[] filters = treeViewer.getFilters();
+ if (filters.length != 0) {
+ treeViewer.refresh(labels);
+ }
} else {
treeViewer.refresh(labels);
}

Back to the top