Browse Source

Accessibility: Set checked state in ButtonAccessibilityHandler::getCurrentState() if button is part of a radio group

v6.1.6
ed 4 years ago
parent
commit
ffdfb5b436
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/buttons/juce_Button.cpp

+ 1
- 1
modules/juce_gui_basics/buttons/juce_Button.cpp View File

@@ -715,7 +715,7 @@ public:
{
auto state = AccessibilityHandler::getCurrentState();
if (button.getClickingTogglesState())
if (button.getClickingTogglesState() || button.getRadioGroupId() != 0)
{
state = state.withCheckable();


Loading…
Cancel
Save