[orca] Simple sanity check.



commit a70f7983b2fd23f87583f9394b558f5feced1811
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Fri May 21 00:29:20 2010 -0400

    Simple sanity check.

 src/orca/default.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/default.py b/src/orca/default.py
index 7ad6fae..d844596 100644
--- a/src/orca/default.py
+++ b/src/orca/default.py
@@ -2999,6 +2999,7 @@ class Script(script.Script):
                 elif orca_state.locusOfFocus \
                     and isinstance(orca_state.lastInputEvent,
                                    input_event.KeyboardEvent) \
+                    and orca_state.lastNonModifierKeyEvent \
                     and (orca_state.lastNonModifierKeyEvent.event_string \
                          == "F1"):
                     self.updateBraille(orca_state.locusOfFocus)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]