Skip to content

Commit 1b4923d

Browse files
committed
with the changes to TypeHierarchyViewPart, it is now possible to expand
below on linux
1 parent f5354b7 commit 1b4923d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1857,9 +1857,6 @@ private void internalConditionalExpandToLevel(Widget widget, int level,
18571857
}
18581858
createChildren(widget, false);
18591859
// XXX for performance widget should be expanded after expanding children:
1860-
if (widget instanceof Item it) {
1861-
setExpanded(it, true);
1862-
}
18631860
if (level == ALL_LEVELS || level > 1) {
18641861
Item[] children = getChildren(widget);
18651862
if (children != null) {
@@ -1873,6 +1870,9 @@ private void internalConditionalExpandToLevel(Widget widget, int level,
18731870
}
18741871
}
18751872
// XXX expanding here fails on linux
1873+
if (widget instanceof Item it) {
1874+
setExpanded(it, true);
1875+
}
18761876
}
18771877
}
18781878

0 commit comments

Comments
 (0)