[orca/gnome-3-4] Sanity check for broken LibreOffice hierarchy
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-4] Sanity check for broken LibreOffice hierarchy
- Date: Wed, 4 Apr 2012 21:11:26 +0000 (UTC)
commit 4a5c12216f0aa55b502dcd024921f0c0d9b26988
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Apr 4 17:11:33 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]