[orca] Fix a traceback



commit df291253c8ab37bc0394584e7e5c70114336b84f
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Sep 6 14:40:49 2016 -0400

    Fix a traceback

 src/orca/scripts/web/script.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/web/script.py b/src/orca/scripts/web/script.py
index 3c02f5c..8e843a5 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -1478,7 +1478,7 @@ class Script(default.Script):
         if childRole == pyatspi.ROLE_DIALOG:
             msg = "WEB: Setting locusOfFocus to event.any_data"
             debug.println(debug.LEVEL_INFO, msg, True)
-            orca.setLocusOfFocus(event, child)
+            orca.setLocusOfFocus(event, event.any_data)
             return True
 
         if self.lastMouseRoutingTime and 0 < time.time() - self.lastMouseRoutingTime < 1:


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