Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2006-11-21 19:03:08 +0000
committerDarin Wright2006-11-21 19:03:08 +0000
commit143362e1b304a6456b1d9bba744e93cc8cd7cc2d (patch)
tree80762fe08e6d19b4ab876401c7b0264d2621d770
parent8145c42ec44301a302d4286060096bb29a9b6efb (diff)
downloadeclipse.platform.debug-143362e1b304a6456b1d9bba744e93cc8cd7cc2d.tar.gz
eclipse.platform.debug-143362e1b304a6456b1d9bba744e93cc8cd7cc2d.tar.xz
eclipse.platform.debug-143362e1b304a6456b1d9bba744e93cc8cd7cc2d.zip
Bug 153500 Asynchronous model viewer
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/TreeModelContentProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/TreeModelContentProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/TreeModelContentProvider.java
index 63f370bf8..b600539ad 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/TreeModelContentProvider.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/TreeModelContentProvider.java
@@ -225,7 +225,7 @@ class TreeModelContentProvider extends ModelContentProvider implements ILazyTree
if (DEBUG_CONTENT_PROVIDER) {
System.out.println("[expand] setChildCount(" + delta.getElement() + ", (model) " + childCount + " (view) " + viewCount); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
- treeViewer.setChildCount(delta.getElement(), viewCount);
+ treeViewer.setChildCount(elementPath, viewCount);
if (!treeViewer.getExpandedState(elementPath)) {
treeViewer.expandToLevel(elementPath, 1);
}

Back to the top