[orca] Sanity check for broken LibreOffice hierarchy
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Sanity check for broken LibreOffice hierarchy
- Date: Wed, 4 Apr 2012 21:11:31 +0000 (UTC)
commit 0e98ec11e88f12d5bcb7f83ce02d15207a0fcf7a
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Apr 4 17:10:06 2012 -0400
Sanity check for broken LibreOffice hierarchy
src/orca/scripts/apps/soffice/script.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/script.py b/src/orca/scripts/apps/soffice/script.py
index 729a6ff..a1bc773 100644
--- a/src/orca/scripts/apps/soffice/script.py
+++ b/src/orca/scripts/apps/soffice/script.py
@@ -1904,7 +1904,7 @@ class Script(default.Script):
return
parent = event.source.parent
- if parent.getRole() == pyatspi.ROLE_EXTENDED:
+ if parent and parent.getRole() == pyatspi.ROLE_EXTENDED:
if parent.getRoleName() == 'text frame':
return
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]