Updated Branches: refs/heads/develop 8f8cbfb0a -> a52917f4c
FLEX-33978 fix for RTE Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/a52917f4 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/a52917f4 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/a52917f4 Branch: refs/heads/develop Commit: a52917f4cf2cadc34bbed3749ac38ca8cc78660c Parents: 8f8cbfb Author: Justin Mclean <[email protected]> Authored: Fri Dec 27 08:14:44 2013 +1100 Committer: Justin Mclean <[email protected]> Committed: Fri Dec 27 08:14:44 2013 +1100 ---------------------------------------------------------------------- .../src/spark/components/supportClasses/StyleableTextField.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a52917f4/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as b/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as index cb18e8d..fd674de 100644 --- a/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as +++ b/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as @@ -1013,7 +1013,7 @@ public class StyleableTextField extends FlexTextField // if we already have the focus, no need to set it again. // if we do indeed set it again, we might end up scrolling the // TextField when we don't want that to happen (SDK-29453) - if (stage.focus != this) + if (stage && stage.focus != this) stage.focus = this; // Work around a runtime bug where calling setSelection(0,0) doesn't
