From da084e2c0c205172812a520b2e6f900971ad4484 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Thu, 22 Jan 2009 23:00:17 +0000 Subject: [PATCH] Bugfix: overriding flex's internal idea about 'enabled'ness was a bad idea. Use it. (Fixes chat semi-disabled for guests.) git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@763 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/as/com/threerings/flex/ChatControl.as | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/as/com/threerings/flex/ChatControl.as b/src/as/com/threerings/flex/ChatControl.as index d2aa551d..fb63d969 100644 --- a/src/as/com/threerings/flex/ChatControl.as +++ b/src/as/com/threerings/flex/ChatControl.as @@ -91,18 +91,13 @@ public class ChatControl extends HBox override public function set enabled (en :Boolean) :void { - // don't call super (and the only time these aren't around is during construction) + super.enabled = en; if (_txt != null) { _txt.enabled = en; _but.enabled = en; } } - override public function get enabled () :Boolean - { - return _txt.enabled; - } - /** * Request focus to this chat control. */