Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 40BDB1006F for ; Thu, 26 Dec 2013 21:15:34 +0000 (UTC) Received: (qmail 30543 invoked by uid 500); 26 Dec 2013 21:15:34 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 30517 invoked by uid 500); 26 Dec 2013 21:15:34 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 30511 invoked by uid 99); 26 Dec 2013 21:15:34 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Dec 2013 21:15:34 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id CC17451D4B; Thu, 26 Dec 2013 21:15:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jmclean@apache.org To: commits@flex.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: [flex-sdk] [refs/heads/develop] - FLEX-33978 fix for RTE Date: Thu, 26 Dec 2013 21:15:33 +0000 (UTC) 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 Authored: Fri Dec 27 08:14:44 2013 +1100 Committer: Justin Mclean 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