summaryrefslogtreecommitdiff
path: root/plugingui/powerbutton.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/powerbutton.cc')
-rw-r--r--plugingui/powerbutton.cc2
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)