You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/01/22 19:51:47 UTC

svn commit: r1437098 - /flex/sdk/branches/develop/mustella/as3/src/mustella/FakeSoftKeyboard.as

Author: aharui
Date: Tue Jan 22 18:51:47 2013
New Revision: 1437098

URL: http://svn.apache.org/viewvc?rev=1437098&view=rev
Log:
Don't re-add if already added.

Modified:
    flex/sdk/branches/develop/mustella/as3/src/mustella/FakeSoftKeyboard.as

Modified: flex/sdk/branches/develop/mustella/as3/src/mustella/FakeSoftKeyboard.as
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/as3/src/mustella/FakeSoftKeyboard.as?rev=1437098&r1=1437097&r2=1437098&view=diff
==============================================================================
--- flex/sdk/branches/develop/mustella/as3/src/mustella/FakeSoftKeyboard.as (original)
+++ flex/sdk/branches/develop/mustella/as3/src/mustella/FakeSoftKeyboard.as Tue Jan 22 18:51:47 2013
@@ -87,7 +87,8 @@ public class FakeSoftKeyboard 
 			}
 			
 			// root is actually a systemManager
-			root["popUpChildren"].addChild(kbd);
+			if (kbd.parent == null)
+				root["popUpChildren"].addChild(kbd);
 			if (root.stage.stageHeight > root.stage.stageWidth)
 			{
 				kbd.height = portraitHeight;