Closed Irtorius closed 11 years ago
With the way you're handling the dialog, there really is no reason to use a class.
You're only using the init function of the class, which effectively makes it a function. It would be better to rewrite the alertMessageDialog() into a function than a class.
I've created a function rather than a class. You can have a look here: https://github.com/marcusmoller/pyorpg-client/commit/df18cafecaf9305b87cc7d8c2f449ab586850327
Okay good to know, I will remember that. Nice looking function, haha
I think it should work now, now it's only changing what I added and removed, and for some reason, one of your changes jumped along. Anyway, I hope it works this time