- Fixed thread button update problem.
This commit is contained in:
parent
529892e640
commit
1f99ec6947
@ -107,9 +107,9 @@ class AttackThread(threading.Thread):
|
||||
self.makeImage(attack)
|
||||
done += 1
|
||||
if self.callbackattack:
|
||||
self.callbackattack(attack,self.totalattacks,done)
|
||||
wx.CallAfter(self.callbackattack,attack,self.totalattacks,done)
|
||||
if self.callbackclaim:
|
||||
self.callbackclaim(cl)
|
||||
wx.CallAfter(self.callbackclaim,cl)
|
||||
|
||||
def makeImage(self,attack):
|
||||
""" create image for this particular attack """
|
||||
|
Loading…
Reference in New Issue
Block a user