diff options
author | André Nusser <andre.nusser@googlemail.com> | 2018-06-08 01:18:02 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2018-06-08 01:19:19 +0200 |
commit | 8f3f22bb5d9d6879bb21d0132a3e0d0af4cd5380 (patch) | |
tree | b3aab48cde087b07d0152b5b6945c3eea305a6ad /plugingui/powerbutton.cc | |
parent | f532587d5c3576dc04d4c6eeee20c5dcdf642244 (diff) |
Disable bleed control frame if drumkit doesn't support it.
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) |