diff --git a/doomsday/sdk/libcore/include/de/widgets/widget.h b/doomsday/sdk/libcore/include/de/widgets/widget.h index 0bbc1610ea..8d484149c8 100644 --- a/doomsday/sdk/libcore/include/de/widgets/widget.h +++ b/doomsday/sdk/libcore/include/de/widgets/widget.h @@ -139,7 +139,7 @@ class DENG2_PUBLIC Widget void show(bool doShow = true); inline void hide() { show(false); } - void enable(bool yes = true) { setBehavior(Disabled, yes); } + void enable(bool yes = true) { setBehavior(Disabled, !yes); } void disable(bool yes = true) { setBehavior(Disabled, yes); } inline bool isHidden() const { return hasFamilyBehavior(Hidden); }