mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[BTW] expand 2 levels of output (workaround missing autoexpand in async tree)
This commit is contained in:
@@ -429,10 +429,8 @@ public class BuildTreeConsoleView implements ConsoleView, DataProvider, BuildCon
|
||||
final Update update = new Update(node) {
|
||||
@Override
|
||||
public void run() {
|
||||
if (node.isAutoExpandNode() && node.getChildCount() > 0) {
|
||||
myTreeModel.expand(node, myTree, p -> {});
|
||||
}
|
||||
myTreeModel.invalidate(node, true);
|
||||
myTreeModel.invalidate(node, true)
|
||||
.onSuccess(p -> TreeUtil.expand(myTree, 2));
|
||||
}
|
||||
};
|
||||
myLaterInvocator.queue(update);
|
||||
|
||||
Reference in New Issue
Block a user