[orca] Reset command state when Gecko script is deactivated



commit b6e247542d76cb7cc389840bc03e55ce4ef37296
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon May 25 11:47:18 2015 -0400

    Reset command state when Gecko script is deactivated

 src/orca/scripts/toolkits/Gecko/script.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index 07808e5..273051d 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -236,6 +236,9 @@ class Script(default.Script):
         self._inSayAll = False
         self._sayAllIsInterrupted = False
         self._loadingDocumentContent = False
+        self._lastCommandWasCaretNav = False
+        self._lastCommandWasStructNav = False
+        self._lastCommandWasMouseButton = False
 
     def getBookmarks(self):
         """Returns the "bookmarks" class for this script.


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