[orca] Don't generate row header when presenting full row



commit 8ae3e69eef7c4fa84903a3770c0b7308f97ea54b
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Feb 10 22:41:47 2020 +0100

    Don't generate row header when presenting full row
    
    The row header will already be presented as part of the row contents

 src/orca/generator.py | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/orca/generator.py b/src/orca/generator.py
index c39d98bc0..1d47bec47 100644
--- a/src/orca/generator.py
+++ b/src/orca/generator.py
@@ -734,6 +734,10 @@ class Generator:
         represent the row header for an object that is in a table, if
         it exists.  Otherwise, an empty array is returned.
         """
+
+        if args.get('readingRow'):
+            return []
+
         result = []
         header = self._script.utilities.rowHeaderForCell(obj)
         if not header:


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