mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Accessibility: Don't create AccessibilityHandler for Components without a native window handle
This commit is contained in:
parent
d6a5156dd5
commit
a2f7aaab2f
1 changed files with 1 additions and 1 deletions
|
|
@ -3164,7 +3164,7 @@ void Component::invalidateAccessibilityHandler()
|
|||
|
||||
AccessibilityHandler* Component::getAccessibilityHandler()
|
||||
{
|
||||
if (flags.accessibilityIgnoredFlag)
|
||||
if (flags.accessibilityIgnoredFlag || getWindowHandle() == nullptr)
|
||||
return nullptr;
|
||||
|
||||
if (accessibilityHandler == nullptr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue