1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:47:45 +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:
Andreas Kling 2021-10-23 13:40:24 +02:00
parent eaeed259b0
commit d91732f959

View file

@ -19,6 +19,7 @@ RadioButton::RadioButton(String text)
: AbstractButton(move(text))
{
set_exclusive(true);
set_checkable(true);
set_min_width(32);
set_fixed_height(22);
}