[orca] Fix crash with Writer table
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix crash with Writer table
- Date: Thu, 5 Jan 2017 09:09:14 +0000 (UTC)
commit 0da4c2ed3d4dedb2229e542ff47257f1d2ab1a50
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Jan 5 04:07:51 2017 -0500
Fix crash with Writer table
src/orca/scripts/apps/soffice/braille_generator.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/braille_generator.py
b/src/orca/scripts/apps/soffice/braille_generator.py
index 21c662e..5cf81ab 100644
--- a/src/orca/scripts/apps/soffice/braille_generator.py
+++ b/src/orca/scripts/apps/soffice/braille_generator.py
@@ -93,8 +93,11 @@ class BrailleGenerator(braille_generator.BrailleGenerator):
result = super()._generateRealTableCell(obj, **args)
else:
result = []
+ formatType = args.get('formatType')
+ args['formatType'] = 'focused'
for child in obj:
- result.extend(self.generate(child))
+ result.extend(self.generate(child, **args))
+ args['formatType'] = formatType
if not self._script.utilities.isSpreadSheetCell(obj):
return result
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]