FLEX-34019 stop combo box from staying open
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/b155e014 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/b155e014 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/b155e014 Branch: refs/heads/develop Commit: b155e01445006dc735f75070df0117fd5084b46b Parents: 1909086 Author: Justin Mclean <[email protected]> Authored: Fri Jan 3 13:49:34 2014 +1100 Committer: Justin Mclean <[email protected]> Committed: Fri Jan 3 13:49:34 2014 +1100 ---------------------------------------------------------------------- .../projects/spark/src/spark/components/ComboBox.as | 11 +++++++++++ 1 file changed, 11 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/b155e014/frameworks/projects/spark/src/spark/components/ComboBox.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/spark/src/spark/components/ComboBox.as b/frameworks/projects/spark/src/spark/components/ComboBox.as index 2b67302..6ef3125 100644 --- a/frameworks/projects/spark/src/spark/components/ComboBox.as +++ b/frameworks/projects/spark/src/spark/components/ComboBox.as @@ -875,6 +875,17 @@ public class ComboBox extends DropDownListBase implements IIMESupport textInput.removeEventListener(FocusEvent.FOCUS_OUT, textInput_focusOutHandler, true); } } + + /** + * @private + */ + override public function set enabled(value:Boolean):void + { + if (enabled == value) + return; + + super.enabled = value; + } /** * @private
