Fixed issue where a null table reference could be present on mouse down.

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

Branch: refs/heads/develop
Commit: e5a3382c4acbd04f1d03a1802089c2da96b7e43e
Parents: 537c352
Author: Harbs <ha...@in-tools.com>
Authored: Wed Oct 22 11:49:04 2014 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Wed Oct 22 11:49:04 2014 +0300

----------------------------------------------------------------------
 textLayout/src/flashx/textLayout/edit/SelectionManager.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/e5a3382c/textLayout/src/flashx/textLayout/edit/SelectionManager.as
----------------------------------------------------------------------
diff --git a/textLayout/src/flashx/textLayout/edit/SelectionManager.as 
b/textLayout/src/flashx/textLayout/edit/SelectionManager.as
index 6de1c2b..42e1579 100644
--- a/textLayout/src/flashx/textLayout/edit/SelectionManager.as
+++ b/textLayout/src/flashx/textLayout/edit/SelectionManager.as
@@ -1961,7 +1961,7 @@ package flashx.textLayout.edit
                        if(cell || coords)
                        {
                                if(coords)
-                                       cell = currentTable.findCell(coords);
+                                       cell = coords.table.findCell(coords);
                                
                                superManager = 
cell.getTextFlow().interactionManager;
                                if(event.shiftKey && cell.getTable() == 
superManager.currentTable)

Reply via email to