flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Monteiro (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-34650) Crash when no Button is selected
Date Tue, 02 Dec 2014 12:11:12 GMT

     [ https://issues.apache.org/jira/browse/FLEX-34650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Carlos Monteiro updated FLEX-34650:
-----------------------------------
    Description: 
On ButtonBarView.mxml
Bug: Select a Button then Unselect it
Fix: validate buttonbar.selectedIndex before get buttonbar.selectedItem.label
label.text = buttonbar.selectedIndex > -1 ? buttonbar.selectedItem.label + " Pressed."
: "No Button Pressed";

> Crash when no Button is selected
> --------------------------------
>
>                 Key: FLEX-34650
>                 URL: https://issues.apache.org/jira/browse/FLEX-34650
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: ButtonBar, Tour De Flex Mobile
>            Reporter: Carlos Monteiro
>            Priority: Minor
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> On ButtonBarView.mxml
> Bug: Select a Button then Unselect it
> Fix: validate buttonbar.selectedIndex before get buttonbar.selectedItem.label
> label.text = buttonbar.selectedIndex > -1 ? buttonbar.selectedItem.label + " Pressed."
: "No Button Pressed";



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message