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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user