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
Notes: sideshowbarker 2024-07-18 03:35:30 +09:00

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);
}