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 = ''