mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Accessibility: Set checked state in ButtonAccessibilityHandler::getCurrentState() if button is part of a radio group
This commit is contained in:
parent
27ead031c0
commit
ffdfb5b436
1 changed files with 1 additions and 1 deletions
|
|
@ -715,7 +715,7 @@ public:
|
|||
{
|
||||
auto state = AccessibilityHandler::getCurrentState();
|
||||
|
||||
if (button.getClickingTogglesState())
|
||||
if (button.getClickingTogglesState() || button.getRadioGroupId() != 0)
|
||||
{
|
||||
state = state.withCheckable();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue