[orca] Fix for bgo#615304 - Sanity check needed in the Gecko script's updateBraille
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for bgo#615304 - Sanity check needed in the Gecko script's updateBraille
- Date: Fri, 9 Apr 2010 15:57:05 +0000 (UTC)
commit c916f867ad04a0cae8b5566df1fb3f81d92094b2
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Fri Apr 9 11:55:06 2010 -0400
Fix for bgo#615304 - Sanity check needed in the Gecko script's updateBraille
src/orca/scripts/toolkits/Gecko/script.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index 40623b8..f0d89d4 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -2379,7 +2379,7 @@ class Script(default.Script):
# full line, however.
#
presentOnlyFocusedObj = False
- if focusedObj.getRole() == pyatspi.ROLE_SLIDER:
+ if focusedObj and focusedObj.getRole() == pyatspi.ROLE_SLIDER:
presentOnlyFocusedObj = True
contents = self.currentLineContents
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]