You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/11/02 03:16:22 UTC

[royale-asjs] branch develop updated: yet another place where columnLists is assumed

This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new c493485  yet another place where columnLists is assumed
c493485 is described below

commit c49348529c30972065a128c47d51f7952f7e94f2
Author: Alex Harui <ah...@apache.org>
AuthorDate: Fri Nov 1 20:16:09 2019 -0700

    yet another place where columnLists is assumed
---
 .../projects/MXRoyale/src/main/royale/mx/controls/beads/DataGridView.as | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/DataGridView.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/DataGridView.as
index 41e9fb7..a5fd987 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/DataGridView.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/beads/DataGridView.as
@@ -84,6 +84,8 @@ package mx.controls.beads
         
         private function handleCollectionChanged(event:Event):void
         {
+            if (columnLists == null) return;
+            
             for (var i:int=0; i < columnLists.length; i++)
             {
                 var list:AdvancedDataGridColumnList = columnLists[i] as AdvancedDataGridColumnList;