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/05/30 14:18:49 UTC

git commit: [flex-sdk] [refs/heads/develop] - Stop RTE when focusManager is null

Updated Branches:
  refs/heads/develop f63bebcc0 -> eff342c0c


Stop RTE when focusManager is null


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

Branch: refs/heads/develop
Commit: eff342c0c3cb576a3b6d610921470b660ba0cd51
Parents: f63bebc
Author: Justin Mclean <jm...@apache.org>
Authored: Thu May 30 22:18:23 2013 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Thu May 30 22:18:23 2013 +1000

----------------------------------------------------------------------
 .../supportClasses/SkinnableComponent.as           |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/eff342c0/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as b/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
index 579b95b..07b561b 100644
--- a/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
+++ b/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
@@ -566,7 +566,7 @@ public class SkinnableComponent extends UIComponent
      */
     override public function drawFocus(isFocused:Boolean):void
     {
-        if (isFocused)
+        if (isFocused && focusManager)
         {
             // For some composite components, the focused object may not
             // be "this". If so, we don't want to draw the focus.