diff options
author | Tibor Nagy <xnagytibor@gmail.com> | 2020-09-26 19:31:27 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-26 19:55:54 +0200 |
commit | 8b293119aba6432a80f73a608557d5531de92c52 (patch) | |
tree | 9ec034093d38538ea6b5640b082a05240c65739c /Libraries/LibGUI/ColorPicker.h | |
parent | 01915a30272a108ad244af6ec7fe5644674540b4 (diff) | |
download | serenity-8b293119aba6432a80f73a608557d5531de92c52.zip |
LibGUI: Update color widgets when has_alpha is toggled in ColorPicker
Fixing a bug where the alpha spinbox wasn't immediately disabled when
color_has_alpha_channel was set to false.
Diffstat (limited to 'Libraries/LibGUI/ColorPicker.h')
-rw-r--r-- | Libraries/LibGUI/ColorPicker.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/ColorPicker.h b/Libraries/LibGUI/ColorPicker.h index 0d0e2334c4..320614805f 100644 --- a/Libraries/LibGUI/ColorPicker.h +++ b/Libraries/LibGUI/ColorPicker.h @@ -42,7 +42,7 @@ public: virtual ~ColorPicker() override; bool color_has_alpha_channel() const { return m_color_has_alpha_channel; } - void set_color_has_alpha_channel(bool has_alpha) { m_color_has_alpha_channel = has_alpha; } + void set_color_has_alpha_channel(bool); Color color() const { return m_color; } private: |