From 8f3f22bb5d9d6879bb21d0132a3e0d0af4cd5380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Fri, 8 Jun 2018 01:18:02 +0200 Subject: Disable bleed control frame if drumkit doesn't support it. --- plugingui/bleedcontrolframecontent.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugingui/bleedcontrolframecontent.h') diff --git a/plugingui/bleedcontrolframecontent.h b/plugingui/bleedcontrolframecontent.h index 09d5642..78733c0 100644 --- a/plugingui/bleedcontrolframecontent.h +++ b/plugingui/bleedcontrolframecontent.h @@ -45,10 +45,14 @@ public: // From Widget virtual void resize(std::size_t width, std::size_t height) override; + void setEnabled(bool enabled); + private: void bleedSettingsValueChanged(float value); void bleedValueChanged(float value); + bool enabled = true; + Label label_text{this}; Label label_value{this}; -- cgit v1.2.3