nvda
62eaba52 - UIA NvDAObject's selectionContainer property: protect against a NULL selectionContainer on UIA's SelectionItemPattern, such as for Lutlook Attachment lists. (#12274)

Commit
5 years ago
UIA NvDAObject's selectionContainer property: protect against a NULL selectionContainer on UIA's SelectionItemPattern, such as for Lutlook Attachment lists. (#12274) After merging of pr #12210 , The attachment list in Outlook no longer read with NVDA, and an error was produced in the log. It seems that Outlook's attachment list, gives back a NULL pointer for the SelectionContainer property on its UIA SelectionItemPattern. This commit Checks to see if CurrentSelectionContainer is NULL and returns None as there is nothing further we can do with that pattern. Fixes #12265
Parents
Loading