You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2013/10/22 00:37:39 UTC

[47/50] git commit: [flex-sdk] [refs/heads/master] - FLEX-33824 DG's nestlevel trick would fail in certain situations. Force validation before mucking with nestLevel

FLEX-33824 DG's nestlevel trick would fail in certain situations.  Force validation before mucking with nestLevel


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/3e752d9c
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/3e752d9c
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/3e752d9c

Branch: refs/heads/master
Commit: 3e752d9c63682fbe48cc58b27fdc73260376be74
Parents: e1a6549
Author: Alex Harui <ah...@apache.org>
Authored: Fri Oct 18 12:42:13 2013 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Oct 18 12:42:13 2013 -0700

----------------------------------------------------------------------
 frameworks/projects/spark/src/spark/components/DataGrid.as | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3e752d9c/frameworks/projects/spark/src/spark/components/DataGrid.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/DataGrid.as b/frameworks/projects/spark/src/spark/components/DataGrid.as
index 3ee69f0..32358f8 100644
--- a/frameworks/projects/spark/src/spark/components/DataGrid.as
+++ b/frameworks/projects/spark/src/spark/components/DataGrid.as
@@ -3427,7 +3427,10 @@ public class DataGrid extends SkinnableContainerBase
         
         elt.dataGrid = this;
         if (elt.nestLevel <= grid.nestLevel)
+        {
+            elt.validateNow();
             elt.nestLevel = grid.nestLevel + 1;
+        }
     }
     
     /**