diff options
Diffstat (limited to 'plugingui/powerbutton.cc')
-rw-r--r-- | plugingui/powerbutton.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/powerbutton.cc b/plugingui/powerbutton.cc index 36edc35..5bf2a2c 100644 --- a/plugingui/powerbutton.cc +++ b/plugingui/powerbutton.cc @@ -38,6 +38,8 @@ PowerButton::PowerButton(Widget* parent) : Toggle(parent) void PowerButton::setEnabled(bool enabled) { this->enabled = enabled; + + redraw(); } void PowerButton::repaintEvent(RepaintEvent* repaintEvent) |