[orca] Modify previous change to only apply to editable content



commit 0839a3cf0d1923e7c7882a2c7c2c3449e5362775
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Jul 12 13:14:06 2019 -0400

    Modify previous change to only apply to editable content

 src/orca/speech_generator.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/speech_generator.py b/src/orca/speech_generator.py
index ae68962ca..402ba86b0 100644
--- a/src/orca/speech_generator.py
+++ b/src/orca/speech_generator.py
@@ -986,7 +986,7 @@ class SpeechGenerator(generator.Generator):
         array if this is not a text object.]]]
         """
 
-        if args.get('inMouseReview'):
+        if args.get('inMouseReview') and obj.getState().contains(pyatspi.STATE_EDITABLE):
             return []
 
         result = self._generateSubstring(obj, **args)


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