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/06/09 08:27:56 UTC

git commit: [flex-sdk] [refs/heads/develop] - fixed RTE when having multiple selections and unselecting first selection via ctrl clicking

Updated Branches:
  refs/heads/develop 051867db4 -> 5f7cb1a7c


fixed RTE when having multiple selections and unselecting first selection via ctrl clicking


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

Branch: refs/heads/develop
Commit: 5f7cb1a7c4b24243844fc0dcd5803ac30ec2cbfa
Parents: 051867d
Author: Justin Mclean <jm...@apache.org>
Authored: Sun Jun 9 16:27:22 2013 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Sun Jun 9 16:27:22 2013 +1000

----------------------------------------------------------------------
 frameworks/projects/mx/src/mx/controls/CalendarLayout.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5f7cb1a7/frameworks/projects/mx/src/mx/controls/CalendarLayout.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mx/src/mx/controls/CalendarLayout.as b/frameworks/projects/mx/src/mx/controls/CalendarLayout.as
index 05988ed..d7f18c4 100644
--- a/frameworks/projects/mx/src/mx/controls/CalendarLayout.as
+++ b/frameworks/projects/mx/src/mx/controls/CalendarLayout.as
@@ -2052,7 +2052,7 @@ public class CalendarLayout extends UIComponent
 		}
 		
 		// clean up any removed selections
-		for (n = selectedRangeCount -1; n > 0; n--)
+		for (n = selectedRangeCount -1; n >= 0; n--)
 		{
 			if (_selectedRanges[n] == null)
 			{