[orca] Eliminate another double-presentation of table information



commit 4162888ec690f99b7e1179fa83b1cd8970769c1b
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Jun 21 20:03:48 2019 -0400

    Eliminate another double-presentation of table information

 src/orca/structural_navigation.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/structural_navigation.py b/src/orca/structural_navigation.py
index ea33d7834..dee3e7796 100644
--- a/src/orca/structural_navigation.py
+++ b/src/orca/structural_navigation.py
@@ -1234,7 +1234,7 @@ class StructuralNavigation:
         self._script.updateBraille(obj)
         self._script.sayLine(obj)
 
-    def _presentObject(self, obj, offset, includeContext=False):
+    def _presentObject(self, obj, offset, includeContext=True):
         """Presents the entire object to the user.
 
         Arguments:
@@ -1249,11 +1249,13 @@ class StructuralNavigation:
             return
 
         eventsynthesizer.scrollToTopEdge(obj)
+        priorObj = None
         if not includeContext:
             priorObj = obj
             includeContext = True
 
-        self._script.presentObject(obj, offset=offset, includeContext=includeContext)
+        self._script.presentObject(
+            obj, offset=offset, includeContext=includeContext, priorObj=priorObj)
 
     def _presentWithSayAll(self, obj, offset):
         if self._script.inSayAll() \


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