flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [1/3] git commit: [flex-sdk] [refs/heads/develop] - FLEX-34657: SelectedIndices order is messed up
Date Tue, 23 Dec 2014 21:23:10 GMT
Repository: flex-sdk
Updated Branches:
  refs/heads/develop e94340658 -> 789a0ca73


FLEX-34657: SelectedIndices order is messed up

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>


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

Branch: refs/heads/develop
Commit: 93c486a77c3fe6ee49f9698db8d77051bf7dc497
Parents: 506d4e5
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Tue Dec 23 15:51:07 2014 +0100
Committer: Erik de Bruin <erik@ixsoftware.nl>
Committed: Tue Dec 23 22:22:32 2014 +0100

----------------------------------------------------------------------
 frameworks/projects/spark/src/spark/components/List.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/93c486a7/frameworks/projects/spark/src/spark/components/List.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/List.as b/frameworks/projects/spark/src/spark/components/List.as
index 9114ded..63329dc 100644
--- a/frameworks/projects/spark/src/spark/components/List.as
+++ b/frameworks/projects/spark/src/spark/components/List.as
@@ -1643,7 +1643,7 @@ public class List extends ListBase implements IFocusManagerComponent
                             if (_selectedIndices[i] == index)
                                 found = true; 
                             else if (_selectedIndices[i] != index)
-                                interval.splice(0, 0, _selectedIndices[i]);
+                                interval.push(_selectedIndices[i]);
                         }
                         if (!found)
                         {


Mime
View raw message