[orca] Fix a chattiness issue with combo box presentation



commit 0e64c5182dc1b9daaba945c342ef3faf40f70de7
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Feb 4 06:41:14 2014 -0500

    Fix a chattiness issue with combo box presentation

 src/orca/scripts/default.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index 49ffb72..541d75e 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -2427,7 +2427,7 @@ class Script(script.Script):
             if iconified:
                 return
 
-        if obj.childCount:
+        if obj and obj.childCount and obj.getRole() != pyatspi.ROLE_COMBO_BOX:
             selectedChildren = self.utilities.selectedChildren(obj)
             if selectedChildren:
                 obj = selectedChildren[0]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]