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

View File

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