mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:37:43 +00:00
LibGUI: Mark GUI::RadioButton as "checkable"
Any AbstractButton that uses the "checked" state should mark itself "checkable", this was a weird oversight.
This commit is contained in:
parent
eaeed259b0
commit
d91732f959
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ RadioButton::RadioButton(String text)
|
||||||
: AbstractButton(move(text))
|
: AbstractButton(move(text))
|
||||||
{
|
{
|
||||||
set_exclusive(true);
|
set_exclusive(true);
|
||||||
|
set_checkable(true);
|
||||||
set_min_width(32);
|
set_min_width(32);
|
||||||
set_fixed_height(22);
|
set_fixed_height(22);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue