diff --git a/src/as/com/threerings/flex/CommandLinkButton.as b/src/as/com/threerings/flex/CommandLinkButton.as index d4905e16..cc78f748 100644 --- a/src/as/com/threerings/flex/CommandLinkButton.as +++ b/src/as/com/threerings/flex/CommandLinkButton.as @@ -50,6 +50,17 @@ public class CommandLinkButton extends LinkButton _arg = arg; } + override public function set enabled (enable :Boolean) :void + { + super.enabled = enable; + + if (enable) { + buttonMode = true; + } else { + buttonMode = false; + } + } + /** * Set the command and argument to be issued when this button is pressed. */