NVDA with Japanese branch
Révision | e784f95b99a15adba8d1c73575375fdd8390d326 (tree) |
---|---|
l'heure | 2015-10-30 17:08:45 |
Auteur | Takuya Nishimoto <nishimotz@gmai...> |
Commiter | Takuya Nishimoto |
Merge commit 'fetch_head' into jpbeta
@@ -646,6 +646,9 @@ class UIA(Window): | ||
646 | 646 | childrenCacheRequest.TreeScope=UIAHandler.TreeScope_Children |
647 | 647 | cachedChildren=self.UIAElement.buildUpdatedCache(childrenCacheRequest).getCachedChildren() |
648 | 648 | children=[] |
649 | + if not cachedChildren: | |
650 | + # GetCachedChildren returns null if there are no children. | |
651 | + return children | |
649 | 652 | for index in xrange(cachedChildren.length): |
650 | 653 | e=cachedChildren.getElement(index) |
651 | 654 | windowHandle=e.cachedNativeWindowHandle or self.windowHandle |