This commit is contained in:
chrys 2019-03-03 21:00:05 +01:00
parent da8e28540e
commit 60b0bf272a
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

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