FLEX-34376 TreeItemRenderer null check. Accept patch from Joao Fernandes
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/42845f18 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/42845f18 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/42845f18 Branch: refs/heads/master Commit: 42845f18090c38c5437cb04b0490ea51bee69c03 Parents: 8e54601 Author: Alex Harui <aha...@apache.org> Authored: Sun Jun 22 08:16:19 2014 -0700 Committer: Alex Harui <aha...@apache.org> Committed: Sun Jun 22 08:16:19 2014 -0700 ---------------------------------------------------------------------- .../projects/mx/src/mx/controls/treeClasses/TreeItemRenderer.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/42845f18/frameworks/projects/mx/src/mx/controls/treeClasses/TreeItemRenderer.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/mx/src/mx/controls/treeClasses/TreeItemRenderer.as b/frameworks/projects/mx/src/mx/controls/treeClasses/TreeItemRenderer.as index 128b8e8..c623dfd 100644 --- a/frameworks/projects/mx/src/mx/controls/treeClasses/TreeItemRenderer.as +++ b/frameworks/projects/mx/src/mx/controls/treeClasses/TreeItemRenderer.as @@ -363,7 +363,7 @@ public class TreeItemRenderer extends UIComponent disclosureIcon = null; } - if (_data != null) + if (_data != null && _listData != null) { listOwner = Tree(_listData.owner);