You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by mk...@apache.org on 2013/04/23 01:48:58 UTC
git commit: [flex-sdk] - FLEX-23303: Made sure setting an index value
of -1 fires the valueCommit event.
Updated Branches:
refs/heads/develop ec15ddde1 -> 4f55ae424
FLEX-23303: Made sure setting an index value of -1 fires the valueCommit event.
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/4f55ae42
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/4f55ae42
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/4f55ae42
Branch: refs/heads/develop
Commit: 4f55ae42497441c0bc7abba7c29942a8c54dbfac
Parents: ec15ddd
Author: Mark Kessler <Ke...@gmail.com>
Authored: Mon Apr 22 19:47:53 2013 -0400
Committer: Mark Kessler <Ke...@gmail.com>
Committed: Mon Apr 22 19:48:36 2013 -0400
----------------------------------------------------------------------
.../spark/src/spark/components/RadioButtonGroup.as | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4f55ae42/frameworks/projects/spark/src/spark/components/RadioButtonGroup.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/RadioButtonGroup.as b/frameworks/projects/spark/src/spark/components/RadioButtonGroup.as
index 2fb1526..1f1c063 100644
--- a/frameworks/projects/spark/src/spark/components/RadioButtonGroup.as
+++ b/frameworks/projects/spark/src/spark/components/RadioButtonGroup.as
@@ -320,6 +320,8 @@ public class RadioButtonGroup extends EventDispatcher implements IMXMLObject
if (newValue == -1)
{
setSelection(null, false);
+ dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));
+
return;
}