#276 Fix crash when a macro is already running

pull/275/head^2
jonasBoss 3 years ago committed by GitHub
parent 3fe52d9c99
commit ae56f2c0e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -496,7 +496,7 @@ class KeycodeMapper(Consumer):
# not finished, especially since gamepad-triggers report a ton
# of events with a positive value.
logger.debug_key(key, "macro already running")
self.context.macros[key].press_trigger()
self.context.macros[key][0].press_trigger()
return
"""starting new macros or injecting new keys"""

Loading…
Cancel
Save