mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
TreeUi: honor isAlwaysPlus
This commit is contained in:
@@ -799,7 +799,12 @@ public class AbstractTreeUi {
|
||||
}
|
||||
|
||||
boolean bgBuild = isToBuildInBackground(descriptor);
|
||||
boolean notRequiredToUpdateChildren = !forcedNow && !wasExpanded && !forceUpdate;
|
||||
boolean notRequiredToUpdateChildren = !forcedNow && !wasExpanded;
|
||||
|
||||
if (notRequiredToUpdateChildren && forceUpdate && !wasExpanded) {
|
||||
notRequiredToUpdateChildren = getBuilder().isAlwaysShowPlus(descriptor);
|
||||
}
|
||||
|
||||
LoadedChildren preloaded = loadedChildren;
|
||||
boolean descriptorWasUpdated = descriptorIsUpToDate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user