Fix typo causing actions to be run multiple times with combine

This commit is contained in:
Kovid Goyal 2021-12-01 10:39:02 +05:30
parent c0b73986cb
commit af7a104f5b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1141,7 +1141,7 @@ class Boss:
traceback.print_exc()
self.show_error('Failed to parse action', f'{action_definition}\n{e}')
return True
for action in actions:
if actions:
try:
if self.dispatch_action(actions[0], window_for_dispatch, dispatch_type):
consumed = True