From 60b0bf272aa093301c5d50e3e12a737114e5705a Mon Sep 17 00:00:00 2001 From: chrys Date: Sun, 3 Mar 2019 21:00:05 +0100 Subject: [PATCH] fix --- src/fenrirscreenreader/commands/onKeyInput/81000-key_echo.py | 2 +- src/fenrirscreenreader/core/inputManager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fenrirscreenreader/commands/onKeyInput/81000-key_echo.py b/src/fenrirscreenreader/commands/onKeyInput/81000-key_echo.py index 4d5f92d2..f995a87e 100644 --- a/src/fenrirscreenreader/commands/onKeyInput/81000-key_echo.py +++ b/src/fenrirscreenreader/commands/onKeyInput/81000-key_echo.py @@ -17,7 +17,7 @@ class command(): return 'No description found' def run(self): if self.env['runtime']['helpManager'].isTutorialMode(): - self.env['runtime']['inputManager'].keyEcho(event) + self.env['runtime']['inputManager'].keyEcho() def setCallback(self, callback): pass diff --git a/src/fenrirscreenreader/core/inputManager.py b/src/fenrirscreenreader/core/inputManager.py index cbf241fd..0974ba3d 100644 --- a/src/fenrirscreenreader/core/inputManager.py +++ b/src/fenrirscreenreader/core/inputManager.py @@ -270,7 +270,7 @@ class inputManager(): return self.env['bindings'][shortcut] def keyEcho(self, eventData = None): if not eventData: - eventData = self.env['runtime']['inputManager'].getLastEvent() + eventData = self.getLastEvent() if not eventData: return keyName = ''