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
This commit is contained in:
Ray Greenwell
2009-01-22 23:00:17 +00:00
parent 648ad3e0fc
commit da084e2c0c
+1 -6
View File
@@ -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.
*/