diff --git a/gui/widget.cpp b/gui/widget.cpp index b93f93656c5..67cf46ff8bc 100644 --- a/gui/widget.cpp +++ b/gui/widget.cpp @@ -150,6 +150,8 @@ void Widget::setEnabled(bool e) { setFlags(WIDGET_ENABLED); else clearFlags(WIDGET_ENABLED); + + _boss->draw(); } bool Widget::isEnabled() const { @@ -164,6 +166,8 @@ void Widget::setVisible(bool e) { clearFlags(WIDGET_INVISIBLE); else setFlags(WIDGET_INVISIBLE); + + _boss->draw(); } bool Widget::isVisible() const {