Skip to content

Commit

Permalink
dlgprogress reraise exception fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goatpig committed Apr 27, 2014
1 parent 0f45887 commit b98d805
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion qtdialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -13207,7 +13207,13 @@ def exec_async(self, *args, **kwargs):
if self.HBar > 0: kwargs['Progress'] = self.UpdateHBar
else: kwargs['Progress'] = self.UpdateText

rt = func(*args[1:], **kwargs)
try:
rt = func(*args[1:], **kwargs)
except Exception as e:
self.Kill()
raise e
pass

self.Kill()

return rt
Expand Down

0 comments on commit b98d805

Please sign in to comment.