fix
This commit is contained in:
parent
da8e28540e
commit
60b0bf272a
@ -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
|
||||
|
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user