use a handler to do ui stuff (toast) from the thread
Thanks for the idea, but I already use handlers to pass on events and messages...
I have currently two annoying things there:
- my dialog is more than a yes/no dialog. I need to get the input of the TextEdits and use it in my thread, so I implement some methods to pass on variables...
- my thread needs to wait until it has the input from the user. This is not the case when using a handler as the event is simply dispatched and then the code continues.
I'll try to search for a way to work around these issues.
Thanks for the reply