Commit dabd0fdb authored by Joanmarie Diggs's avatar Joanmarie Diggs

Ensure all arguments get passed to the generator when presenting objects

parent e1f36978
......@@ -887,9 +887,10 @@ class Script(default.Script):
priorObj = args.get("priorObj")
if self._lastCommandWasCaretNav or args.get("includeContext"):
priorObj, priorOffset = self.utilities.getPriorContext()
args["priorObj"] = priorObj
if obj.getRole() == pyatspi.ROLE_ENTRY:
utterances = self.speechGenerator.generateSpeech(obj, priorObj=priorObj)
utterances = self.speechGenerator.generateSpeech(obj, **args)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment