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
Notes:
sideshowbarker
2024-07-18 03:35:30 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/d91732f959d
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue